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_endpoint_warning

View 17.0
Inputs Method Outputs
  • account_peppol_eas
  • company_id
- for config in self:
-             if (
-                 not config.account_peppol_eas
-                 or config.company_id._check_peppol_endpoint_number(warning=True)
-             ):
-                 config.account_peppol_endpoint_warning = False
-             else:
-                 config.account_peppol_endpoint_warning = _("The endpoint number might not be correct. "
-                                                            "Please check if you entered the right identification number.")
  • account_peppol_endpoint_warning

Back to entity