[FIX] l10n_ch : default_value() of res.partner.bank corrected
lp bug: https://launchpad.net/bugs/426831 fixed bzr revid: jvo@tinyerp.com-20090910124805-u2dgm48hxk0b79by
This commit is contained in:
parent
01c96820db
commit
d4e9825ce6
|
@ -69,7 +69,7 @@ class res_partner_bank(osv.osv):
|
|||
if address['type'] == 'default':
|
||||
return address.get(field,False)
|
||||
elif not address['type']:
|
||||
value = address[field]
|
||||
value = address.get(field,False)
|
||||
else :
|
||||
value = False
|
||||
return value
|
||||
|
|
Loading…
Reference in New Issue