changeset 58e3a7f9f740 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=58e3a7f9f740
description:
Restore depends on on_change_with_transit_location
It was wrongly removed by changeset b483de7e3ad8
diffstat:
shipment.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r b483de7e3ad8 -r 58e3a7f9f740 shipment.py
--- a/shipment.py Fri Apr 08 19:07:14 2022 +0200
+++ b/shipment.py Sun Apr 10 00:08:35 2022 +0200
@@ -2260,6 +2260,7 @@
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')