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

Module: Sales

Entity: product.template

Compute Method: _compute_invoice_policy

Inputs Method Outputs
self.filtered(lambda t: t.type == 'consu' or not t.invoice_policy).invoice_policy = 'order'

Back to entity