2012-03-05 10:52:43 +00:00
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from osv import fields , osv
import pooler
from tools . translate import _
class mrp_configuration ( osv . osv_memory ) :
2012-03-13 09:04:12 +00:00
_name = ' mrp.configuration '
2012-03-05 10:52:43 +00:00
_inherit = ' res.config.settings '
_columns = {
' module_stock_planning ' : fields . boolean ( ' Track work order planning ' ,
help = """
This allows to create a manual procurement plan apart of the normal MRP scheduling , which works automatically based on minimum stock rules .
It installs the stock_planning module .
""" ),
' module_mrp_repair ' : fields . boolean ( " Track products repair " ,
2012-03-13 09:04:12 +00:00
help = """ Allows to manage all products repairs.
2012-03-05 10:52:43 +00:00
* Add / remove products in the reparation
* Impact for stocks
* Invoicing ( products and / or services )
* Warranty concept
* Repair quotation report
2012-03-13 09:04:12 +00:00
* Notes for the technician and for the final customer .
2012-03-05 10:52:43 +00:00
It installs the mrp_repair module . """ ),
' module_mrp_operations ' : fields . boolean ( " Track dates in work order operations " ,
help = """ This allows to add state, date_start,date_stop in production order operation lines (in the " Work Centers " tab).
It installs the mrp_operations module . """ ),
' module_mrp_subproduct ' : fields . boolean ( " Produce several products from one production " ,
help = """ You can configure sub-products in the bill of material.
Without this module :
A + B + C - > D
With this module :
A + B + C - > D + E .
2012-03-05 11:44:21 +00:00
It installs the mrp_subproduct module . """ ),
2012-03-05 10:52:43 +00:00
' module_stock_location ' : fields . boolean ( " Allow push/pull flows by product " ,
2012-03-13 09:04:12 +00:00
help = """ Allows to implement Push and Pull inventory flows.
2012-03-05 10:52:43 +00:00
Typically this could be used to :
* Manage product manufacturing chains
* Manage default locations per product
* Define routes within your warehouse according to business needs , such as :
- Quality Control
- After Sales Services
- Supplier Returns .
2012-03-13 10:29:27 +00:00
It installs stock_location module . """ ),
2012-03-05 10:52:43 +00:00
' module_mrp_jit ' : fields . boolean ( " Allow the just in time scheduling " ,
help = """ This allows Just In Time computation of procurement orders.
All procurement orders will be processed immediately , which could in some
cases entail a small performance impact .
It installs the mrp_jit module . """ ),
' module_mrp_operations ' : fields . boolean ( " Track dates in work order operations " ,
help = """ This allows to add state, date_start,date_stop in production order operation lines (in the " Work Centers " tab).
It installs the mrp_operations module . """ ),
2012-03-13 09:04:12 +00:00
' group_mrp_routings ' : fields . boolean ( " Manage manufacturing operations " , group = ' base.group_user ' , implied_group = ' base.group_mrp_routings ' ,
2012-03-13 10:29:27 +00:00
help = """ Routings allow you to create and manage the manufacturing operations that should be followed within your work centers in order to produce a product. They are attached to bills of materials that will define the required raw materials.
2012-03-05 10:52:43 +00:00
It assigns the " Routings " group to employee . """ ),
2012-03-13 09:04:12 +00:00
' group_mrp_properties ' : fields . boolean ( " Allow different properties per product in your order " , group = ' base.group_user ' , implied_group = ' base.group_mrp_properties ' ,
2012-03-13 10:29:27 +00:00
help = """ Allows to define specific property that can be assigned to your bill of materials.
2012-03-05 10:52:43 +00:00
It assigns the " Properties of Product " group to employee . """ ),
}
mrp_configuration ( )
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: