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

Module: France - E-Invoicing (Approved Platform)

Entity: account.move

Compute Method: _compute_pdp_can_send_response

Inputs Method Outputs
  • peppol_message_uuid
  • peppol_is_sent
  • partner_id
  • company_id
for move in self:
            move.pdp_can_send_response = (
                bool(move.peppol_message_uuid)
                and move.peppol_is_sent
                and move.partner_id.with_company(move.company_id).l10n_fr_is_pdp
            )

Back to entity