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

Module: Inventory

Entity: stock.picking

Compute Method: _compute_is_date_editable

View 20.0
Inputs Method Outputs
  • state
  • is_locked
+ for picking in self:
+             if picking.state in ['done', 'cancel']:
+                 picking.is_date_editable = not picking.is_locked
+             else:
+                 picking.is_date_editable = True
  • is_date_editable

Back to entity