[IMP] Manufacture should be by default in all warehouses
[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.\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         #FIXME: Should be removed as module product_manufacturer has been removed
56         'module_product_manufacturer': fields.boolean("Define manufacturers on products ",
57             help='This allows you to define the following for a product:\n'
58                  '* Manufacturer\n'
59                  '* Manufacturer Product Name\n'
60                  '* Manufacturer Product Code\n'
61                  '* Product Attributes.\n'
62                  '-This installs the module product_manufacturer.'),
63     }
64
65 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: