mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[FIX+IMP] mrp_operations_extension
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
|
||||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2008-2014 AvanzOSC (Daniel). All Rights Reserved
|
||||
# Date: 10/07/2014
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 of the License, or
|
||||
@@ -16,7 +11,7 @@
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
##############################################################################
|
||||
@@ -31,6 +26,8 @@ class MrpRoutingWorkcenter(models.Model):
|
||||
op_wc_lines = fields.One2many('mrp.operation.workcenter',
|
||||
'routing_workcenter',
|
||||
'Workcenter Info Lines')
|
||||
do_production = fields.Boolean(
|
||||
string='Move produced quantity to stock')
|
||||
|
||||
@api.one
|
||||
@api.onchange('operation')
|
||||
|
||||
Reference in New Issue
Block a user