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

Module: Indonesia E-faktur

Entity: account.move

Compute Method: _compute_show_kode_transaksi

Inputs Method Outputs
  • commercial_partner_id
  • commercial_partner_id.l10n_id_pkp
  • move_type
  • country_code
for move in self:
            move.l10n_id_show_kode_transaksi = (
                move.commercial_partner_id.l10n_id_pkp
                and move.move_type == 'out_invoice'
                and move.country_code == 'ID'
            )

Back to entity