[MERGE] addons: added groups when quick creating user in various addons.
[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 openerp.osv import fields, osv
23 from openerp.tools.translate import _
24
25 class mrp_config_settings(osv.osv_memory):
26     _name = 'mrp.config.settings'
27     _inherit = 'res.config.settings'
28
29     _columns = {
30         'module_mrp_repair': fields.boolean("Manage repairs of products ",
31             help="""Allows to manage all product repairs.
32                     * Add/remove products in the reparation
33                     * Impact for stocks
34                     * Invoicing (products and/or services)
35                     * Warranty concept
36                     * Repair quotation report
37                     * Notes for the technician and for the final customer.
38                 This installs the module mrp_repair."""),
39         'module_mrp_operations': fields.boolean("Allow detailed planning of work orders",
40             help="""This allows to add state, date_start,date_stop in production order operation lines (in the "Work Centers" tab).
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.
44                 Without this module: A + B + C -> D.
45                 With this module: A + B + C -> D + E.
46                 This installs the module mrp_byproduct."""),
47         'module_mrp_jit': fields.boolean("Generate procurement in real time",
48             help="""This allows Just In Time computation of procurement orders.
49                 All procurement orders will be processed immediately, which could in some
50                 cases entail a small performance impact.
51                 This installs the module mrp_jit."""),
52         'module_stock_no_autopicking': fields.boolean("Manage manual picking to fulfill manufacturing orders ",
53             help="""This module allows an intermediate picking process to provide raw materials to production orders.
54                 For example to manage production made by your suppliers (sub-contracting).
55                 To achieve this, set the assembled product which is sub-contracted to "No Auto-Picking"
56                 and put the location of the supplier in the routing of the assembly operation.
57                 This installs the module stock_no_autopicking."""),
58         'group_mrp_routings': fields.boolean("Manage routings and work orders ",
59             implied_group='mrp.group_mrp_routings',
60             help="""Routings allow you to create and manage the manufacturing operations that should be followed
61                 within your work centers in order to produce a product. They are attached to bills of materials
62                 that will define the required raw materials."""),
63         'group_mrp_properties': fields.boolean("Allow several bill of materials per product using properties",
64             implied_group='product.group_mrp_properties',
65             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."""),
66         'module_product_manufacturer': fields.boolean("Define manufacturers on products ",
67             help="""This allows you to define the following for a product:
68                     * Manufacturer
69                     * Manufacturer Product Name
70                     * Manufacturer Product Code
71                     * Product Attributes.
72                 This installs the module product_manufacturer."""),
73     }
74
75 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: