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 openerp.osv import fields, osv
23 from openerp.tools.translate import _
25 class mrp_config_settings(osv.osv_memory):
26 _name = 'mrp.config.settings'
27 _inherit = 'res.config.settings'
30 'module_mrp_repair': fields.boolean("Manage repairs of products ",
31 help='Allows to manage all product repairs.\n'
32 '* Add/remove products in the reparation\n'
33 '* Impact for stocks\n'
34 '* Invoicing (products and/or services)\n'
35 '* Warranty concept\n'
36 '* Repair quotation report\n'
37 '* Notes for the technician and for the final customer.\n'
38 '-This installs the module mrp_repair.'),
39 'module_mrp_operations': fields.boolean("Allow detailed planning of work order",
40 help='This allows to add state, date_start,date_stop in production order operation lines (in the "Work Centers" tab).\n'
41 '-This installs the module mrp_operations.'),
42 'module_mrp_byproduct': fields.boolean("Produce several products from one manufacturing order",
43 help='You can configure by-products in the bill of material.\n'
44 'Without this module: A + B + C -> D.\n'
45 'With this module: A + B + C -> D + E.\n'
46 '-This installs the module mrp_byproduct.'),
47 'group_mrp_routings': fields.boolean("Manage routings and work orders ",
48 implied_group='mrp.group_mrp_routings',
49 help='Routings allow you to create and manage the manufacturing operations that should be followed '
50 'within your work centers in order to produce a product. They are attached to bills of materials '
51 'that will define the required raw materials.'),
52 'group_mrp_properties': fields.boolean("Allow several bill of materials per products using properties",
53 implied_group='product.group_mrp_properties',
54 help="""The selection of the right Bill of Material to use will depend on the properties specified on the sales order and the Bill of Material."""),
55 'module_product_manufacturer': fields.boolean("Define manufacturers on products ",
56 help='This allows you to define the following for a product:\n'
58 '* Manufacturer Product Name\n'
59 '* Manufacturer Product Code\n'
60 '* Product Attributes.\n'
61 '-This installs the module product_manufacturer.'),
64 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: