From 1ec3503256348ba6bd1080952411c2b83d38f70e Mon Sep 17 00:00:00 2001 From: nvi-openerp Date: Tue, 26 Oct 2010 11:57:59 +0200 Subject: [PATCH] [FIX] Fixed a little bug with multi addon path + changed minimal chart module name bzr revid: nicolas.vanhoren@openerp.com-20101026095759-201hggg8n39hmdtm --- bin/addons/base/module/wizard/base_module_import.py | 2 +- debian/copyright | 2 +- doc/tests/check_profile_l10n_all.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/addons/base/module/wizard/base_module_import.py b/bin/addons/base/module/wizard/base_module_import.py index 68822690f45..05c3b18198d 100644 --- a/bin/addons/base/module/wizard/base_module_import.py +++ b/bin/addons/base/module/wizard/base_module_import.py @@ -56,7 +56,7 @@ class base_module_import(osv.osv_memory): fname = fdata.namelist()[0] module_name = os.path.split(fname)[0] - ad = tools.config['addons_path'] + ad = tools.config['addons_path'].split(",")[-1] fname = os.path.join(ad, module_name+'.zip') try: diff --git a/debian/copyright b/debian/copyright index 6a75021214c..2e1bd9dd152 100644 --- a/debian/copyright +++ b/debian/copyright @@ -162,7 +162,7 @@ License: GPL-2+ On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. -Files: bin/addons/l10n_chart_uk_minimal/* +Files: bin/addons/l10n_minimal_chart_uk/* Copyright: (C) 2004-2008 Tiny.be (C) 2004-2008 Seath Solutions Ltd. diff --git a/doc/tests/check_profile_l10n_all.py b/doc/tests/check_profile_l10n_all.py index f558a2a5b56..549c0193d3b 100644 --- a/doc/tests/check_profile_l10n_all.py +++ b/doc/tests/check_profile_l10n_all.py @@ -37,7 +37,7 @@ profiles = [ 'profile_manufacturing' ] l10n_charts = [ - 'l10n_chart_uk_minimal', + 'l10n_minimal_chart_uk', False, 'l10n_be', 'l10n_fr'