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

Module: AEAT modelo 111

Entity: l10n.es.aeat.mod111.report

Compute Method: _compute_casilla_05

Inputs Method Outputs
  • tax_line_ids
for report in self:
            tax_lines = report.tax_line_ids.filtered(lambda x: x.field_number == 5)
            report.casilla_05 = sum(tax_lines.mapped("amount"))

Back to entity