[IMP]pms:added required plan avail in product pricelist and added avail in data.xml

This commit is contained in:
braisab
2022-05-11 17:45:40 +02:00
parent 433e5eb2eb
commit a323696bc2
2 changed files with 4 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ class ProductPricelist(models.Model):
help="Availability Plan for which the pricelist is included",
comodel_name="pms.availability.plan",
ondelete="restrict",
required=True,
check_pms_properties=True,
)
item_ids = fields.One2many(