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:
committed by
Chandresh Thakkar
parent
c86310a03e
commit
3c8ccf6dd9
@@ -99,7 +99,7 @@ class MrpProductionRequest(models.Model):
|
||||
required=True, default=_company_get)
|
||||
mrp_production_ids = fields.One2many(
|
||||
comodel_name="mrp.production", string="Manufacturing Orders",
|
||||
inverse_name="mrp_production_request_id")
|
||||
inverse_name="mrp_production_request_id", readonly=True)
|
||||
state = fields.Selection(
|
||||
selection=[("draft", "Draft"),
|
||||
("to_approve", "To Be Approved"),
|
||||
|
||||
Reference in New Issue
Block a user