[MIG] product_quick_bom: Migration to 13.0

This commit is contained in:
ps-tubtim
2020-09-09 10:37:19 +07:00
parent aaf95c4cb4
commit fb3e43264c
7 changed files with 57 additions and 26 deletions

View File

@@ -16,9 +16,9 @@ class ProductTemplate(models.Model):
rec.bom_id = self.env["mrp.bom"]
bom_id = fields.Many2one(
"mrp.bom",
comodel_name="mrp.bom",
string="Bill of Materials (quick access)",
compute=_compute_bom_id,
compute="_compute_bom_id",
store=True,
)