报表行

原始定义来自 account

model odoo.addons.account.models.account_report.AccountReportLine(env, ids, prefetch_ids)[源代码]
_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时,此行及其子行将被隐藏。