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: res.config.settings

Compute Method: _compute_l10n_it_edi_demo_mode

Inputs Method Outputs
  • company_id
  • company_id.l10n_it_edi_proxy_user_id
for config in self:
            edi_user = config.company_id.l10n_it_edi_proxy_user_id
            config.l10n_it_edi_demo_mode = edi_user.edi_mode or 'demo'

Back to entity