Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Invoicing

Entity: account.tax

Compute Method: _compute_non_deductible_amount

Inputs Method Outputs
for tax in self:
            tax.non_deductible_amount = sum(
                rep_line.factor_percent / 100.0
                for rep_line in tax.invoice_repartition_line_ids
                if rep_line.repartition_type == 'tax' and not rep_line.use_in_tax_closing
            )

Back to entity