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