1 # -*- coding: utf-8 -*-
2 ##############################################################################
4 # OpenERP, Open Source Business Applications
5 # Copyright (C) 2004-2012 OpenERP S.A. (<http://openerp.com>).
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU Affero General Public License as
9 # published by the Free Software Foundation, either version 3 of the
10 # License, or (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU Affero General Public License for more details.
17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 ##############################################################################
22 from osv import fields, osv
24 from tools.translate import _
26 class mrp_config_settings(osv.osv_memory):
27 _name = 'mrp.config.settings'
28 _inherit = 'res.config.settings'
31 'module_stock_planning': fields.boolean('Master Production Schedule',
32 help ="""This allows to create a manual procurement plan apart of the normal MRP scheduling,
33 which works automatically based on minimum stock rules.
34 This installs the module stock_planning."""),
35 'module_mrp_repair': fields.boolean("Manage Product Repairs",
36 help="""Allows to manage all product repairs.
37 * Add/remove products in the reparation
39 * Invoicing (products and/or services)
41 * Repair quotation report
42 * Notes for the technician and for the final customer.
43 This installs the module mrp_repair."""),
44 'module_mrp_operations': fields.boolean("Track Dates in Work Order Operations",
45 help="""This allows to add state, date_start,date_stop in production order operation lines (in the "Work Centers" tab).
46 This installs the module mrp_operations."""),
47 'module_mrp_subproduct': fields.boolean("Produce Different Products from one Production",
48 help="""You can configure sub-products in the bill of material.
49 Without this module: A + B + C -> D.
50 With this module: A + B + C -> D + E.
51 This installs the module mrp_subproduct."""),
52 'module_mrp_jit': fields.boolean("Just in Time Scheduling",
53 help="""This allows Just In Time computation of procurement orders.
54 All procurement orders will be processed immediately, which could in some
55 cases entail a small performance impact.
56 This installs the module mrp_jit."""),
57 'group_mrp_routings': fields.boolean("Manage Routings and Work Orders",
58 implied_group='mrp.group_mrp_routings',
59 help="""Routings allow you to create and manage the manufacturing operations that should be followed
60 within your work centers in order to produce a product. They are attached to bills of materials
61 that will define the required raw materials."""),
62 'group_mrp_properties': fields.boolean("Manage Properties",
63 implied_group='product.group_mrp_properties',
64 help="""Allows to define specific property that can be assigned to your bill of materials."""),
67 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: