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.partner
Compute Method: _compute_available_peppol_edi_formats
| Inputs | Method | Outputs |
|---|---|---|
|
+ for partner in self: + if partner.invoice_sending_method == 'peppol': + partner.available_peppol_edi_formats = self._get_peppol_formats() + else: + partner.available_peppol_edi_formats = list(dict(self._fields['invoice_edi_format'].selection)) |
|
