Restore depends on on_change_with_transit_location

It was wrongly removed by changeset b483de7e3ad8
This commit is contained in:
Cédric Krier committed 2022-04-10 00:08:35 +02:00
1 parent 0ab66f93af
commit e277cc5e48
1 file changed
+1
+1
View File
@@ -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')