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

Module: Jordan E-Invoicing

Entity: account.move

Compute Method: _compute_l10n_jo_edi_is_needed

Inputs Method Outputs
  • country_code
  • move_type
for move in self:
            move.l10n_jo_edi_is_needed = (
                move.country_code == "JO"
                and move.move_type in ("out_invoice", "out_refund")
            )

Back to entity