[FIX] account: in bank statement reconciliation widget, make sure a move line 'ref' is an empty string if the field has no value

Fixes #5272
This commit is contained in:
Arthur Maniet 2015-02-17 11:28:06 +01:00
parent 31527c9a36
commit 058a010456
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ class account_move_line(osv.osv):
ret_line = {
'id': line.id,
'name': line.name != '/' and line.move_id.name + ': ' + line.name or line.move_id.name,
'ref': line.move_id.ref,
'ref': line.move_id.ref or '',
'account_code': line.account_id.code,
'account_name': line.account_id.name,
'account_type': line.account_id.type,