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
  • company_id
  • partner_id
for move in self:
            move.pdp_can_send_response = (
                bool(move.peppol_message_uuid)
                and move.peppol_is_sent
                and move.company_id._get_peppol_proxy_type() == 'pdp'
                and move.partner_id._get_pdp_receiver_identification_info()[0] == 'pdp'
            )

Back to entity