报表行

Original definition from 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
必填

名称

Parent Report

Comodel

account.report

hierarchy_level: int
必填

名称

Level

parent_id: int
名称

Parent Line

Comodel

account.report.line

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

Child Lines

Comodel

account.report.line

foldable: bool
名称

Foldable

By default, we always unfold the lines that can be. If this is checked, the line won’t be unfolded by default, and a folding button will be displayed.

print_on_new_page: bool
名称

Print On New Page

When checked this line and everything after it will be printed on a new page.

action_id: int
名称

Action

Comodel

ir.actions.actions

Setting this field will turn the line into a link, executing the action when clicked.

hide_if_zero: bool
名称

Hide if Zero

This line and its children will be hidden when all of their columns are 0.