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.move

Compute Method: _compute_l10n_it_edi_button_label

Inputs Method Outputs
for move in self:
            if move.country_code == 'IT' and move.l10n_it_edi_proxy_mode in (False, 'demo'):
                move.l10n_it_edi_button_label = _("Send (Demo)")
            elif move.country_code == 'IT' and move.l10n_it_edi_proxy_mode == 'test':
                move.l10n_it_edi_button_label = _("Send (Test)")
            else:
                move.l10n_it_edi_button_label = _("Send")

Back to entity