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_user_hard_lock_date

View 19.0
Inputs Method Outputs
+ for company in self:
+             company.user_hard_lock_date = max(
+                 c.hard_lock_date or date.min
+                 for c in company.with_context(active_test=False).sudo().parent_ids
+             )
  • user_hard_lock_date

Back to entity