[FIX] Export : M2M field name was missing last character

lp bug: https://launchpad.net/bugs/478724 fixed

bzr revid: jvo@tinyerp.com-20091109072532-rmub2t6519nz1hyu
This commit is contained in:
Jay (Open ERP) 2009-11-09 12:55:32 +05:30
parent 52066fa679
commit 89dc28dfe7
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ class orm_template(object):
rr = rr.name
rr_name = self.pool.get(rr._table_name).name_get(cr, uid, [rr.id])
rr_name = rr_name and rr_name[0] and rr_name[0][1] or ''
dt += rr_name or '' + ','
dt += tools.ustr(rr_name or '') + ','
data[fpos] = dt[:-1]
break
lines += lines2[1:]