product_detailed_type_stock: default product type is 'product' instead of 'consu'
Same behavior as in stock_usability that switch default type to 'product' instead of 'consu'
This commit is contained in:
@@ -10,4 +10,4 @@ class ProductTemplate(models.Model):
|
|||||||
|
|
||||||
detailed_type = fields.Selection(selection_add=[
|
detailed_type = fields.Selection(selection_add=[
|
||||||
('product', 'Storable Product')
|
('product', 'Storable Product')
|
||||||
], ondelete={'product': 'set default'})
|
], ondelete={'product': 'set default'}, default='product')
|
||||||
|
|||||||
Reference in New Issue
Block a user