mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
* Planned Order release and due date become required. * Add button to Product MRP Area to update MOQ from Supplier Info. * Link Manufacturing Orders with Planned Orders. * Allow Mrp Inventory Procure Wizard to be used from other models. * Make MRP Inventory creation more extensible. * Main Supplier computation (v13 requires explicit False definitions).
13 lines
396 B
Python
13 lines
396 B
Python
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
|
|
# - Héctor Villarreal <hector.villarreal@forgeflow.com>
|
|
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
|
from odoo import fields, models
|
|
|
|
|
|
class MrpProduction(models.Model):
|
|
""" Manufacturing Orders """
|
|
|
|
_inherit = "mrp.production"
|
|
|
|
planned_order_id = fields.Many2one(comodel_name="mrp.planned.order")
|