From fb4db629b490e71537c582d20801e673699e1e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Grand-Guillaume?= Date: Thu, 11 Feb 2010 15:23:26 +0100 Subject: [PATCH] [DEL] Remove the demo data in multi-company module as asked by Fabien bzr revid: joel.grandguillaume@camptocamp.com-20100211142326-lc011kadf8kluj64 --- addons/multi_company/__init__.py | 2 -- addons/multi_company/multi_company_demo.xml | 16 ---------- addons/multi_company/product.py | 33 --------------------- 3 files changed, 51 deletions(-) delete mode 100644 addons/multi_company/product.py diff --git a/addons/multi_company/__init__.py b/addons/multi_company/__init__.py index aa6ce64cfcc..4716d0d109b 100644 --- a/addons/multi_company/__init__.py +++ b/addons/multi_company/__init__.py @@ -18,7 +18,5 @@ # along with this program. If not, see . # ############################################################################## -import product - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/multi_company/multi_company_demo.xml b/addons/multi_company/multi_company_demo.xml index f550d133b28..7f18b7edd86 100644 --- a/addons/multi_company/multi_company_demo.xml +++ b/addons/multi_company/multi_company_demo.xml @@ -1,16 +1,6 @@ - - - - - Cost Price USD - standard_price_usd - - - - OpenERP Corp. @@ -39,32 +29,26 @@ OpenERP Editor - OpenERP US - - OpenERP BE - OpenERP IN OpenERP IN - Odoo - diff --git a/addons/multi_company/product.py b/addons/multi_company/product.py deleted file mode 100644 index 988ef7ee39e..00000000000 --- a/addons/multi_company/product.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2009 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 -from tools import config - -class product_product(osv.osv): - _inherit = "product.product" - - _columns = { - 'standard_price_usd': fields.float('Cost Price USD', required=True, digits=(16, int(config['price_accuracy'])), - help="Product's cost in USDfor accounting stock valuation."), - } - -product_product() \ No newline at end of file