Tax Report Line¶
Original definition from account
¶
- model odoo.addons.account.models.account_tax_report.AccountTaxReportLine[fuente]¶
- _name = account.tax.report.line¶
- tag_ids: Sequence[odoo.fields.Command]¶
- Name
Tags
- Comodel
Tax tags populating this line
- report_action_id: int¶
- Name
Report Action
- Comodel
ir.actions.act_window
The optional action to call when clicking on this line in accounting reports.
- children_line_ids: Sequence[odoo.fields.Command]¶
- Name
Children Lines
- Comodel
Lines that should be rendered as children of this one
- sequence: int¶
- Required
- Name
Sequence
Sequence determining the order of the lines in the report (smaller ones come first). This order is applied locally per section (so, children of the same line are always rendered one after the other).
- report_id: int¶
- Required
- Name
Tax Report
- Comodel
account.tax.report
The parent tax report of this line
- tag_name: str¶
- Name
Tag Name
Short name for the tax grid corresponding to this report line. Leave empty if this report line should not correspond to any such grid.
- formula: str¶
- Name
Formula
Python expression used to compute the value of a total line. This field is mutually exclusive with tag_name, setting it turns the line to a total line. Tax report line codes can be used as variables in this expression to refer to the balance of the corresponding lines in the report. A formula cannot refer to another line using a formula.
- carry_over_condition_method: str¶
- Name
Method
- Selection
no_negative_amount_carry_over_condition
: No negative amountalways_carry_over_and_set_to_0
: Always carry over and set to 0
The method used to determine if this line should be carried over.
- carry_over_destination_line_id: int¶
- Name
Destination
- Comodel
The line to which the value of this line will be carried over to if needed. If left empty the line will carry over to itself.
- carryover_line_ids: Sequence[odoo.fields.Command]¶
- Name
Carryover lines
- Comodel
account.tax.carryover.line
- is_carryover_persistent: bool¶
- Name
Persistent
- Default
True
Defines how this report line creates carry over lines when performing tax closing. If true, the amounts carried over will always be added on top of each other: for example, a report line with a balance of 10 with an existing carryover of 50 will add an additional 10 to it when doing the closing, making a total carryover of 60. If false, the total carried over amount will be forced to the total of this report line: a report line with a balance of 10 with an existing carryover of 50 will create a new carryover line of -40, so that the total carryover becomes 10.