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: res.company

Compute Method: _compute_max_tax_lock_date

View 17.0
Inputs Method Outputs
  • tax_lock_date
  • parent_id
- for company in self:
-             company.max_tax_lock_date = max(company.tax_lock_date or date.min, company.parent_id.sudo().max_tax_lock_date or date.min)
  • max_tax_lock_date

Back to entity