Tax Report Line¶
Original definition from
- model odoo.addons.account.models.account_tax_report.AccountTaxReportLine[source]¶
- _name = account.tax.report.line¶
- tag_ids: Sequence[odoo.fields.Command]¶
Tax tags populating this line
- report_action_id: int¶
The optional action to call when clicking on this line in accounting reports.
- children_line_ids: Sequence[odoo.fields.Command]¶
Lines that should be rendered as children of this one
- parent_id: int¶
- sequence: int¶
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¶
The parent tax report of this line
- tag_name: str¶
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¶
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¶
no_negative_amount_carry_over_condition: No negative amount
always_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¶
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]¶
- is_carryover_persistent: bool¶
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.