[IMP]hr,mrp,project:res_config view improvement as per suggetion
[odoo/odoo.git] / addons / mrp / res_config.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Business Applications
5 #    Copyright (C) 2004-2012 OpenERP S.A. (<http://openerp.com>).
6 #
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.
11 #
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.
16 #
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/>.
19 #
20 ##############################################################################
21
22 from osv import fields, osv
23 import pooler
24 from tools.translate import _
25
26 class mrp_config_settings(osv.osv_memory):
27     _name = 'mrp.config.settings'
28     _inherit = 'res.config.settings'
29
30     _columns = {
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
38                     * Impact for stocks
39                     * Invoicing (products and/or services)
40                     * Warranty concept
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("Detailed Planning of Work Orders",
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 Products 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("Real-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         'module_stock_no_autopicking': fields.boolean("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 BoMs per Product",
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:
73                     * Manufacturer
74                     * Manufacturer Product Name
75                     * Manufacturer Product Code
76                     * Product Attributes.
77                 This installs the module product_manufacturer."""),        
78     }
79
80 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: