From a13b42acbf82b81513c222de09afc6c033ef6d5d Mon Sep 17 00:00:00 2001 From: pso Date: Mon, 3 Jan 2011 18:15:57 +0530 Subject: [PATCH] [REMOVE] Removed product_multi_company as its moved in extra addons bzr revid: pso@tinyerp.com-20110103124557-sefdfx336jkbrzky --- addons/product_multi_company/__init__.py | 24 -------- addons/product_multi_company/__openerp__.py | 39 ------------- addons/product_multi_company/i18n/en_US.po | 32 ---------- addons/product_multi_company/i18n/fr.po | 32 ---------- .../i18n/product_multi_company.pot | 32 ---------- .../product_multi_company.py | 58 ------------------- 6 files changed, 217 deletions(-) delete mode 100644 addons/product_multi_company/__init__.py delete mode 100644 addons/product_multi_company/__openerp__.py delete mode 100644 addons/product_multi_company/i18n/en_US.po delete mode 100644 addons/product_multi_company/i18n/fr.po delete mode 100644 addons/product_multi_company/i18n/product_multi_company.pot delete mode 100644 addons/product_multi_company/product_multi_company.py diff --git a/addons/product_multi_company/__init__.py b/addons/product_multi_company/__init__.py deleted file mode 100644 index 34163abb1a2..00000000000 --- a/addons/product_multi_company/__init__.py +++ /dev/null @@ -1,24 +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 . -# -############################################################################## - -import product_multi_company - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/product_multi_company/__openerp__.py b/addons/product_multi_company/__openerp__.py deleted file mode 100644 index f933ceb4423..00000000000 --- a/addons/product_multi_company/__openerp__.py +++ /dev/null @@ -1,39 +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 . -# -############################################################################## - -{ - "name" : "Product multi company ", - "version" : "1.1", - "author" : "OpenERP SA", - "category" : "Generic Modules/Inventory Control", - "depends" : [ "product"], - "init_xml" : [], - "demo_xml" : [], - "description": """ - This module updates the definitions of standard price, public price and seller price with property fields. - """, - 'update_xml': [], - 'test':[], - 'installable': True, - 'active': False, -} - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/product_multi_company/i18n/en_US.po b/addons/product_multi_company/i18n/en_US.po deleted file mode 100644 index e8510fe0bcd..00000000000 --- a/addons/product_multi_company/i18n/en_US.po +++ /dev/null @@ -1,32 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_multi_company -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.0.0-rc1\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2010-12-28 12:10:13+0000\n" -"PO-Revision-Date: 2010-12-28 12:10:13+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: product_multi_company -#: model:ir.model,name:product_multi_company.model_product_template -msgid "Product Template" -msgstr "" - -#. module: product_multi_company -#: constraint:product.template:0 -msgid "Error: The default UOM and the purchase UOM must be in the same category." -msgstr "" - -#. module: product_multi_company -#: model:ir.model,name:product_multi_company.model_pricelist_partnerinfo -msgid "pricelist.partnerinfo" -msgstr "" - diff --git a/addons/product_multi_company/i18n/fr.po b/addons/product_multi_company/i18n/fr.po deleted file mode 100644 index e8510fe0bcd..00000000000 --- a/addons/product_multi_company/i18n/fr.po +++ /dev/null @@ -1,32 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_multi_company -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.0.0-rc1\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2010-12-28 12:10:13+0000\n" -"PO-Revision-Date: 2010-12-28 12:10:13+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: product_multi_company -#: model:ir.model,name:product_multi_company.model_product_template -msgid "Product Template" -msgstr "" - -#. module: product_multi_company -#: constraint:product.template:0 -msgid "Error: The default UOM and the purchase UOM must be in the same category." -msgstr "" - -#. module: product_multi_company -#: model:ir.model,name:product_multi_company.model_pricelist_partnerinfo -msgid "pricelist.partnerinfo" -msgstr "" - diff --git a/addons/product_multi_company/i18n/product_multi_company.pot b/addons/product_multi_company/i18n/product_multi_company.pot deleted file mode 100644 index e8510fe0bcd..00000000000 --- a/addons/product_multi_company/i18n/product_multi_company.pot +++ /dev/null @@ -1,32 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_multi_company -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.0.0-rc1\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2010-12-28 12:10:13+0000\n" -"PO-Revision-Date: 2010-12-28 12:10:13+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: product_multi_company -#: model:ir.model,name:product_multi_company.model_product_template -msgid "Product Template" -msgstr "" - -#. module: product_multi_company -#: constraint:product.template:0 -msgid "Error: The default UOM and the purchase UOM must be in the same category." -msgstr "" - -#. module: product_multi_company -#: model:ir.model,name:product_multi_company.model_pricelist_partnerinfo -msgid "pricelist.partnerinfo" -msgstr "" - diff --git a/addons/product_multi_company/product_multi_company.py b/addons/product_multi_company/product_multi_company.py deleted file mode 100644 index 3c9c52f04e3..00000000000 --- a/addons/product_multi_company/product_multi_company.py +++ /dev/null @@ -1,58 +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 osv, fields - -class product_template(osv.osv): - _inherit = "product.template" - _description = "Product Template" - _columns={ - 'list_price': fields.property('product.template', - type='float', - string='Public Price', - method=True, - view_load=True, - required=True, size=64), - 'standard_price': fields.property('product.template', - type='float', - string='Standard Price', - method=True, - view_load=True, - required=True, size=64, - help="Product's cost for accounting stock valuation. It is the base price for the supplier price."), - } -product_template() - -class pricelist_partnerinfo(osv.osv): - _inherit = 'pricelist.partnerinfo' - _description = "Pricelist Partner" - _columns = { - 'price': fields.property('pricelist.partnerinfo', - type='float', - string='Seller Price', - method=True, - view_load=True, - required=True, size=64, - help="This price will be considered as a price for the supplier UoM if any or the default Unit of Measure of the product otherwise"), - } -pricelist_partnerinfo() - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file