[IMP] add res remove return in if condition
bzr revid: jar@tinyerp.com-20140423114053-wnjqd7408w8sva77
This commit is contained in:
parent
281f94ca83
commit
d59d90449c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue