[FIX] stock_vlm_mgmt: error when creating new quant

This commit is contained in:
ArnauCForgeFlow
2024-08-27 14:26:49 +02:00
parent 97930b8aef
commit eabd77404b

View File

@@ -21,6 +21,12 @@ class StockQuant(models.Model):
)
return action
@api.model
def _get_inventory_fields_create(self):
fields = super()._get_inventory_fields_create()
fields.extend(["vlm_quant_ids"])
return fields
class StockQuantVlm(models.Model):
_name = "stock.quant.vlm"