Add producible on product boms and lead time's depends
issue10444 review344211002 (grafted from 0155b54bf257b42423bb05b6775e8f88671b151c) --HG-- branch : 6.0
This commit is contained in:
1 parent
0c0044d6e7
commit
9c043bafb7
1 file changed
+2
-2
+2
-2
@@ -40,13 +40,13 @@ class Product(metaclass=PoolMeta):
|
||||
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):
|
||||
|
||||
Reference in new issue
Block a user