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

Module: Taiwan - E-invoicing

Entity: account.move

Compute Method: _compute_is_print

View 19.0
Inputs Method Outputs
  • l10n_tw_edi_love_code
  • partner_id
  • partner_id.vat
  • l10n_tw_edi_carrier_type
+ for move in self:
+             if move.l10n_tw_edi_love_code or (move.partner_id.vat and move.l10n_tw_edi_carrier_type in [1, 2]):
+                 move.l10n_tw_edi_is_print = False
  • l10n_tw_edi_is_print

Back to entity