Files
manufacture/mrp_production_request/models/product.py
2017-06-29 13:07:53 +02:00

15 lines
513 B
Python

# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import fields, models
class ProductTemplate(models.Model):
_inherit = "product.template"
mrp_production_request = fields.Boolean(
string='Manufacturing Request', help="Check this box to generate "
"manufacturing request instead of generating requests manufacturing "
"orders from procurement.", default=False)