[FIX] account, account.move.line: removed the string replacement on the fields_view_get in order to allow the translations

bzr revid: qdp-launchpad@tinyerp.com-20101222133317-jfa6kqp9mcekjvcj
This commit is contained in:
qdp-launchpad@tinyerp.com
2010-12-22 14:33:17 +01:00
parent 333f5b21c2
commit 0291ffa1e5
-1
View File
@@ -955,7 +955,6 @@ class account_move_line(osv.osv):
if field in widths:
attrs.append('width="'+str(widths[field])+'"')
attrs.append('string="'+field_it[2]+'"')
attrs.append("invisible=\"context.get('visible_id') not in %s\"" % (fields.get(field)))
xml += '''<field name="%s" %s/>\n''' % (field,' '.join(attrs))