[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:
parent
eefc873a4b
commit
5411b475de
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue