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.lock_exception

Compute Method: _compute_lock_dates

View 20.0
Inputs Method Outputs
  • lock_date_field
  • lock_date
+ for exception in self:
+             for field in SOFT_LOCK_DATE_FIELDS:
+                 if field == exception.lock_date_field:
+                     exception[field] = exception.lock_date
+                 else:
+                     exception[field] = date.max

Back to entity