Default locations depends on type
review975002 issue3289
This commit is contained in:
+2
-1
@@ -13,4 +13,5 @@ class Product:
|
||||
locations = fields.One2Many('stock.product.location', 'product',
|
||||
'Default Locations', states={
|
||||
'invisible': ~Eval('type').in_(['goods', 'assets']),
|
||||
})
|
||||
},
|
||||
depends=['type'])
|
||||
|
||||
Reference in New Issue
Block a user