changeset faa9aaca5e14 in modules/production:6.0
details: 
https://hg.tryton.org/modules/production?cmd=changeset&node=faa9aaca5e14
description:
        Add producible on product boms and lead time's depends

        issue10444
        review344211002
        (grafted from 0155b54bf257b42423bb05b6775e8f88671b151c)
diffstat:

 product.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 19dce8fad45f -r faa9aaca5e14 product.py
--- a/product.py        Mon May 03 15:44:51 2021 +0200
+++ b/product.py        Fri May 28 09:01:35 2021 +0200
@@ -40,13 +40,13 @@
         states={
             'invisible': ~Eval('producible')
             },
-        depends=['type'])
+        depends=['producible'])
     lead_times = fields.One2Many('production.lead_time',
         'product', 'Lead Times', order=[('sequence', 'ASC'), ('id', 'ASC')],
         states={
             'invisible': ~Eval('producible'),
             },
-        depends=['type'])
+        depends=['producible'])
 
     @classmethod
     def validate(cls, products):

Reply via email to