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_document_tax_mode

Inputs Method Outputs
for order in self:
            if not order.document_tax_mode:
                company = order.company_id or self.env.company
                order.document_tax_mode = company.account_price_include

Back to entity