Restore depends on on_change_with_transit_location
It was wrongly removed by changeset b483de7e3ad8
This commit is contained in:
1 parent
0ab66f93af
commit
e277cc5e48
1 file changed
+1
@@ -2260,6 +2260,7 @@ class ShipmentInternal(ShipmentAssignMixin, Workflow, ModelSQL, ModelView):
|
||||
def default_company():
|
||||
return Transaction().context.get('company')
|
||||
|
||||
@fields.depends('planned_date', 'planned_start_date', 'company')
|
||||
def on_change_with_transit_location(self, name=None):
|
||||
pool = Pool()
|
||||
Config = pool.get('stock.configuration')
|
||||
|
||||
Reference in new issue
Block a user