changeset 2c77d9f89a66 in modules/stock_supply:4.8
details:
https://hg.tryton.org/modules/stock_supply?cmd=changeset;node=2c77d9f89a66
description:
Add missing parent depends
issue8712
review258221002
(grafted from 757d0442fd41d33c7118a784ee455544ac5da804)
diffstat:
order_point.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r c2201a1af079 -r 2c77d9f89a66 order_point.py
--- a/order_point.py Tue Apr 02 21:42:55 2019 +0200
+++ b/order_point.py Wed Oct 16 21:23:26 2019 +0200
@@ -149,7 +149,7 @@
def default_type():
return "purchase"
- @fields.depends('product')
+ @fields.depends('product', '_parent_product.default_uom')
def on_change_product(self):
self.unit = None
self.unit_digits = 2