changeset e9db1ed0e6b3 in modules/stock_supply:4.4
details: 
https://hg.tryton.org/modules/stock_supply?cmd=changeset;node=e9db1ed0e6b3
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 5b4ef899ed8a -r e9db1ed0e6b3 order_point.py
--- a/order_point.py    Tue Apr 02 21:43:53 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