From 5411b475defbdef8487972bc6f90f81c9bbf32c4 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 30 Oct 2012 19:17:54 +0100 Subject: [PATCH] [FIX] account: currency_id must be passed to the chart installation wizard Otherwise the installation of a chart of account via the settings page fails miserably. bzr revid: odo@openerp.com-20121030181754-jnfnnyarf3lixsou --- addons/account/res_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/res_config.py b/addons/account/res_config.py index 41121db20f7..8f525795d1c 100644 --- a/addons/account/res_config.py +++ b/addons/account/res_config.py @@ -262,6 +262,7 @@ class account_config_settings(osv.osv_memory): 'sale_tax_rate': config.sale_tax_rate, 'purchase_tax_rate': config.purchase_tax_rate, 'complete_tax_set': config.complete_tax_set, + 'currency_id': config.currency_id.id, }, context) wizard.execute(cr, uid, [wizard_id], context)