[IMP] mrp_multi_level: Minor changes

* Planned Orders become fixed on manual creation by default
* Released Quantity become readonly
* Add product reference if Planned Order name is not defined on bom explosion
This commit is contained in:
hveficent
2020-02-20 10:09:56 +01:00
committed by JasminSForgeFlow
parent c696574765
commit 13bab76498
4 changed files with 35 additions and 5 deletions

View File

@@ -42,8 +42,8 @@ class MrpPlannedOrder(models.Model):
due_date = fields.Date(
string="Due Date", help="Date in which the supply must have been completed."
)
qty_released = fields.Float()
fixed = fields.Boolean()
qty_released = fields.Float(readonly=True)
fixed = fields.Boolean(default=True)
mrp_qty = fields.Float(string="Quantity")
mrp_move_down_ids = fields.Many2many(
comodel_name="mrp.move",