mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[IMP] mrp_operations_extension: Put a "onchange" to calculate fields # Operators, and Operator average hour cost, of model mrp.workcenter.
14 lines
544 B
Python
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')
|