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.payment.method.line

Compute Method: _compute_l10n_it_payment_method

View 20.0
Inputs Method Outputs
  • payment_method_id
  • payment_method_id.code
+ for line in self.filtered(lambda line: line.company_id.country_code == 'IT'):
+             line.l10n_it_payment_method = L10N_IT_PAYMENT_METHOD_MAPPING.get(line.payment_method_id.code, 'MP05')
  • l10n_it_payment_method

Back to entity