Add producible on product boms and lead time's depends
issue10444 review344211002
This commit is contained in:
1 parent
f3dbaf9a7c
commit
597f205e13
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