[IMP] mrp_multi_level: Show supply method on mrp inventory

This commit is contained in:
hveficent
2020-01-31 13:11:20 +01:00
committed by JasminSForgeFlow
parent 9ba3057010
commit 1bd8a2cbe3
4 changed files with 24 additions and 0 deletions

View File

@@ -62,6 +62,12 @@ class MrpInventory(models.Model):
planned_order_ids = fields.One2many(
comodel_name="mrp.planned.order", inverse_name="mrp_inventory_id", readonly=True
)
supply_method = fields.Selection(
string="Supply Method",
related="product_mrp_area_id.supply_method",
readonly=True,
store=True,
)
def _compute_uom_id(self):
for rec in self: