[IMP] add res remove return in if condition

bzr revid: jar@tinyerp.com-20140423114053-wnjqd7408w8sva77
This commit is contained in:
Jaydeep Barot 2014-04-23 17:10:53 +05:30
parent 281f94ca83
commit d59d90449c
1 changed files with 3 additions and 2 deletions

View File

@ -260,9 +260,10 @@ class account_config_settings(osv.osv_memory):
return {'value': {'purchase_tax_rate': rate or False}}
def onchange_multi_currency(self, cr, uid, ids, group_multi_currency, context=None):
res = {}
if not group_multi_currency:
return {'value': {'income_currency_exchange_account_id': False, 'expense_currency_exchange_account_id': False}}
return {}
res['value'] = {'income_currency_exchange_account_id': False, 'expense_currency_exchange_account_id': False}
return res
def onchange_start_date(self, cr, uid, id, start_date):
if start_date: