Files
manufacture/mrp_multi_level/models/stock_location.py
2022-01-25 09:38:57 +01:00

18 lines
573 B
Python

# © 2016 Ucamco - Wim Audenaert <wim.audenaert@ucamco.com>
# © 2016 Eficent Business and IT Consulting Services S.L.
# - Jordi Ballester Alomar <jordi.ballester@eficent.com>
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import fields, models
class StockLocation(models.Model):
_inherit = "stock.location"
mrp_area_id = fields.Many2one(
comodel_name="mrp.area",
string="MRP Area",
help="Requirements for a particular MRP area are combined for the "
"purposes of procurement by the MRP.",
)