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('manage master production shedule',
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 repairs of products ",
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("allow detailed planning of work order",
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 several prouducts from one manufacturing order",
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("generate procurement in real time",
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 'module_stock_no_autopicking': fields.boolean("manage manual picking to fulfill manufacturing orders ",
58 help="""This module allows an intermediate picking process to provide raw materials to production orders.
59 For example to manage production made by your suppliers (sub-contracting).
60 To achieve this, set the assembled product which is sub-contracted to "No Auto-Picking"
61 and put the location of the supplier in the routing of the assembly operation.
62 This installs the module stock_no_autopicking."""),
63 'group_mrp_routings': fields.boolean("manage routings and work orders ",
64 implied_group='mrp.group_mrp_routings',
65 help="""Routings allow you to create and manage the manufacturing operations that should be followed
66 within your work centers in order to produce a product. They are attached to bills of materials
67 that will define the required raw materials."""),
68 'group_mrp_properties': fields.boolean("allow several bill of materials per products",
69 implied_group='product.group_mrp_properties',
70 help="""The selection of the right Bill of Material to use will depend on the properties specified on the sale order and the Bill of Material."""),
71 'module_product_manufacturer': fields.boolean("define manufacturers on products ",
72 help="""This allows you to define the following for a product:
74 * Manufacturer Product Name
75 * Manufacturer Product Code
77 This installs the module product_manufacturer."""),
80 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: