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:
Alexis de Lattre
2024-04-23 21:40:39 +02:00
parent 309d466374
commit 3ca4553eb5

View File

@@ -10,4 +10,4 @@ class ProductTemplate(models.Model):
detailed_type = fields.Selection(selection_add=[
('product', 'Storable Product')
], ondelete={'product': 'set default'})
], ondelete={'product': 'set default'}, default='product')