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

Module: Italy - E-invoicing

Entity: account.move

Compute Method: _compute_l10n_it_partner_pa

Inputs Method Outputs
  • commercial_partner_id
for move in self:
            partner = move.commercial_partner_id
            move.l10n_it_partner_pa = partner and (partner._l10n_it_edi_is_public_administration() or len(partner.l10n_it_pa_index or '') == 7)

Back to entity