[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
This commit is contained in:
Olivier Dony 2012-10-30 19:17:54 +01:00
parent eefc873a4b
commit 5411b475de
1 changed files with 1 additions and 0 deletions

View File

@ -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)