changeset 09f79fd8e219 in modules/stock_supply:4.6
details: 
https://hg.tryton.org/modules/stock_supply?cmd=changeset;node=09f79fd8e219
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 eaba5b40b687 -r 09f79fd8e219 order_point.py
--- a/order_point.py    Tue Apr 02 21:43:29 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

Reply via email to