[FIX] l10n_be: partner vat listing
bzr revid: mra@tinyerp.com-20100531062123-e40vunej09s5cmb3
This commit is contained in:
parent
596afa285c
commit
e86966d460
|
@ -40,7 +40,7 @@ class vat_listing_clients(osv.osv_memory):
|
|||
def name_get(self, cr, uid, ids, context={}):
|
||||
if not len(ids):
|
||||
return []
|
||||
return [(r['id'], r['name'] + ' - ' + r['vat']) \
|
||||
return [(r['id'], r['name'] or '' + ' - ' + r['vat'] or '') \
|
||||
for r in self.read(cr, uid, ids, ['name', 'vat'],
|
||||
context, load='_classic_write')]
|
||||
|
||||
|
|
Loading…
Reference in New Issue