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

Module: Saudi Arabia - Accounting

Entity: account.move

Compute Method: _compute_show_l10n_sa_reason

View 19.0
Inputs Method Outputs
  • country_code
  • move_type
  • debit_origin_id
- for record in self:
-             record.l10n_sa_show_reason = record.country_code == 'SA' and (record.move_type == 'out_refund' or (record.move_type == 'out_invoice' and record.debit_origin_id))
  • l10n_sa_show_reason

Back to entity