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

Module: Invoicing

Entity: res.partner

Compute Method: _compute_display_invoice_template_pdf_report_id

Inputs Method Outputs
""" Show PDF template selection if there are more than 1 template available for invoices. """
for partner in self:
            partner.display_invoice_template_pdf_report_id = len(partner.available_invoice_template_pdf_report_ids) > 1

Back to entity