diff --git a/product_detailed_type_stock/models/product_template.py b/product_detailed_type_stock/models/product_template.py index 4f23eec..f13c267 100644 --- a/product_detailed_type_stock/models/product_template.py +++ b/product_detailed_type_stock/models/product_template.py @@ -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')