mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[MIG] product_quick_bom: Migration to 13.0
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user