[FIX] stock_secondary_unit: Not copy default stock secondary unit.

TT34526
This commit is contained in:
sergio-teruel
2022-02-14 12:29:54 +01:00
parent 5c09c33044
commit c8037516b6

View File

@@ -33,7 +33,9 @@ class ProductTemplate(models.Model):
_name = "product.template"
stock_secondary_uom_id = fields.Many2one(
comodel_name="product.secondary.unit", string="Second unit for inventory"
comodel_name="product.secondary.unit",
string="Second unit for inventory",
copy=False,
)