Files
manufacture/mrp_operations_start_without_material/models/mrp_routing.py
2016-08-07 20:14:39 +07:00

17 lines
492 B
Python

# -*- coding: utf-8 -*-
# © 2015 Daniel Campos
# © 2015 Pedro M. Baeza
# © 2015 Ana Juaristi
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models, fields
class MrpRoutingWorkcenter(models.Model):
_inherit = 'mrp.routing.workcenter'
init_without_material = fields.Boolean(
string='Init without material',
help="If enabled, current operation could be initialized even if there"
"is no material assigned to it.")