Skip to content

Commit

Permalink
[FIX] account: reconciliation: using move_line.name instead of move_l…
Browse files Browse the repository at this point in the history
…ine.move_id.name when is defined
  • Loading branch information
Whisno committed Sep 10, 2014
1 parent 24cf401 commit b281b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/account_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def prepare_move_lines_for_reconciliation_widget(self, cr, uid, lines, target_cu

ret_line = {
'id': line.id,
'name': line.move_id.name,
'name': line.name if line.name != '/' else line.move_id.name,
'ref': line.move_id.ref,
'account_code': line.account_id.code,
'account_name': line.account_id.name,
Expand Down

0 comments on commit b281b83

Please sign in to comment.