mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[IMP] mrp_multi_level: Show supply method on mrp inventory
This commit is contained in:
committed by
JasminSForgeFlow
parent
9ba3057010
commit
1bd8a2cbe3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user