From 48e4959edafcebabca38495db69e9824e064d529 Mon Sep 17 00:00:00 2001 From: "Turkesh Patel (Open ERP)" Date: Tue, 13 Mar 2012 14:57:21 +0530 Subject: [PATCH] [IMP] remove new uom group bzr revid: tpa@tinyerp.com-20120313092721-qlacpvejyb2r8rhc --- addons/product/__init__.py | 5 ++--- addons/product/res_config.py | 37 ------------------------------------ 2 files changed, 2 insertions(+), 40 deletions(-) delete mode 100644 addons/product/res_config.py diff --git a/addons/product/__init__.py b/addons/product/__init__.py index a7e0be09dc5..3e2fc0c8be4 100644 --- a/addons/product/__init__.py +++ b/addons/product/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # 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 . +# along with this program. If not, see . # ############################################################################## import product @@ -23,6 +23,5 @@ import pricelist import report import partner import wizard -import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/product/res_config.py b/addons/product/res_config.py deleted file mode 100644 index 29ea02badb1..00000000000 --- a/addons/product/res_config.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# 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 . -# -############################################################################## - -from osv import fields, osv - -class product_groups_configuration(osv.osv_memory): - _inherit = 'res.config.settings' - - _columns = { - 'group_stock_packaging':fields.boolean("Manage packaging by products",group='base.group_user', implied_group='base.group_stock_packaging', - help=""" Allows you to create and manage your packaging dimensions and types you want to be maintained in your system. - It assigns the "Packaging" group to employee."""), - 'group_stock_uom':fields.boolean("Manage your stock counterpart by products",group='base.group_user', implied_group='base.group_stock_uom', - help="""Allows you to create and manage the units of measure you want to be used in your system. You can define a conversion rate between several Units of Measure within the same category. - It assigns the "UOM in warehouse" group to employee."""), - -} - -product_groups_configuration() \ No newline at end of file