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

Module: Purchase

Entity: purchase.order

Compute Method: _compute_receipt_reminder_email

View 19.0 View 20.0
Inputs Method Outputs
  • partner_id
  • company_id
for order in self:
            order.receipt_reminder_email = order.partner_id.with_company(order.company_id).receipt_reminder_email
            order.reminder_date_before_receipt = order.partner_id.with_company(order.company_id).reminder_date_before_receipt
  • receipt_reminder_email
  • reminder_date_before_receipt

Back to entity