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

Module: US Sales Tax Engine

Entity: us.tax.rate

Compute Method: _compute_total_rate

View 18.0
Inputs Method Outputs
  • state_rate
  • county_rate
  • city_rate
  • district_rate
- for rec in self:
-             rec.total_rate = round(
-                 rec.state_rate + rec.county_rate + rec.city_rate + rec.district_rate, 6
-             )
  • total_rate

Back to entity