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

Module: Malaysia - E-invoicing

Entity: res.partner

Compute Method: _compute_l10n_my_edi_industrial_classification

Inputs Method Outputs
default_classification = self.env.ref('l10n_my_edi.class_00000', raise_if_not_found=False)
self.filtered(lambda p: not p.l10n_my_edi_industrial_classification).l10n_my_edi_industrial_classification = default_classification

Back to entity