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

Module: Peppol

Entity: res.config.settings

Compute Method: _compute_account_peppol_mode_constraint

Inputs Method Outputs
mode_constraint = self.env['ir.config_parameter'].sudo().get_param('account_peppol.mode_constraint')
trial_param = self.env['ir.config_parameter'].sudo().get_param('saas_trial.confirm_token')
self.account_peppol_mode_constraint = trial_param and 'demo' or mode_constraint or 'prod'

Back to entity