Files
manufacture/mrp_operations_extension/models/res_config.py
alfredoavanzosc 5a792ed54c [FIX] mrp_operations_extension: Fixed "_operators_number_avg_cost" function, of the model "mrp.production.workcenter.line", for calculating fields: '# Operators' and 'Operator average hour cost'.
[IMP] mrp_operations_extension: Put a "onchange" to calculate fields # Operators, and Operator average hour cost, of model mrp.workcenter.
2015-12-04 18:41:28 +01:00

14 lines
544 B
Python

# -*- coding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __openerp__.py file in root directory
##############################################################################
from openerp import models, fields
class MrpConfigSettings(models.TransientModel):
_inherit = 'mrp.config.settings'
group_mrp_workers = fields.Boolean(
string='Manage operators in work centers ',
implied_group='mrp_operations_extension.group_mrp_workers')