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

Module: Denmark - Accounting

Entity: res.partner

Compute Method: _compute_is_using_nemhandel

View 20.0
Inputs Method Outputs
  • invoice_edi_format
+ nemhandel_user = self.env.company.sudo().nemhandel_edi_user
+ for partner in self:
+             partner.is_using_nemhandel = nemhandel_user and partner.invoice_edi_format == 'oioubl_21'
  • is_using_nemhandel

Back to entity