mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[10.0][FIX] mrp_production_request: do not allow to add MOs manually.
This commit is contained in:
@@ -99,7 +99,7 @@ class MrpProductionRequest(models.Model):
|
|||||||
required=True, default=_company_get)
|
required=True, default=_company_get)
|
||||||
mrp_production_ids = fields.One2many(
|
mrp_production_ids = fields.One2many(
|
||||||
comodel_name="mrp.production", string="Manufacturing Orders",
|
comodel_name="mrp.production", string="Manufacturing Orders",
|
||||||
inverse_name="mrp_production_request_id")
|
inverse_name="mrp_production_request_id", readonly=True)
|
||||||
state = fields.Selection(
|
state = fields.Selection(
|
||||||
selection=[("draft", "Draft"),
|
selection=[("draft", "Draft"),
|
||||||
("to_approve", "To Be Approved"),
|
("to_approve", "To Be Approved"),
|
||||||
|
|||||||
Reference in New Issue
Block a user