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: account.tax

Compute Method: _compute_price_include

View 17.0 View 20.0
Inputs Method Outputs
  • price_include_override
  • company_price_include
+ for tax in self:
+             tax.price_include = (
+                 tax.price_include_override == 'tax_included'
+                 or (tax.company_price_include == 'tax_included'
+                     and not tax.price_include_override)
+             )
  • price_include

Back to entity