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

Module: eCommerce

Entity: website

Compute Method: _compute_show_line_subtotals_tax_selection

View 18.0 View 20.0
Inputs Method Outputs
+ for country_code, websites in self.grouped(
+             lambda website: website.company_id.account_fiscal_country_id.code
+         ).items():
+             websites.show_line_subtotals_tax_selection = (
+                 "tax_excluded" if country_code in const.TAX_EXCLUDED_COUNTRIES else "tax_included"
+             )
  • show_line_subtotals_tax_selection

Back to entity