报表行

`account`的原始定义

model odoo.addons.account.models.account_report.AccountReportLine(env: api.Environment, ids: tuple[IdType, ...], prefetch_ids: Reversible[IdType])[源代码]
_name = account.report.line
name: str
依赖

名称

名称

expression_ids: Sequence[odoo.fields.Command]
名称

表达式

Comodel

account.report.expression

report_id: int
依赖

名称

父报表

Comodel

account.report

hierarchy_level: int
依赖

名称

层级

parent_id: int
名称

父行

Comodel

account.report.line

children_ids: Sequence[odoo.fields.Command]
名称

子行

Comodel

account.report.line

foldable: bool
名称

可折叠

默认情况下,我们会展开所有可以展开的行。如果勾选此项,该行将默认不展开,并显示一个折叠按钮。

print_on_new_page: bool
名称

在新页面打印

勾选此项后,该行及其后续内容将打印在新页面上。

action_id: int
名称

操作

Comodel

ir.actions.actions

设置此字段后,该行将变为链接,点击时会执行相应操作。

hide_if_zero: bool
名称

为零时隐藏

当此行及其所有子行的列值均为 0 时,它们将被隐藏。