Reviewers: ,
Please review this at http://codereview.tryton.org/661002/
Affected files:
M move.py
Index: move.py
===================================================================
--- a/move.py
+++ b/move.py
@@ -532,7 +532,7 @@
'no_journal': 'No journal defined!',
'move_view_inactive_account': 'You can not create move
lines\n' \
'on view/inactive accounts!',
- 'already_reconciled': 'Line "%s" (%d) already reconciled!',
+ 'already_reconciled': 'Line of move "%s" (%d) already
reconciled!',
})
@classmethod
@@ -1281,7 +1281,7 @@
for line in lines:
if line.reconciliation:
cls.raise_user_error('already_reconciled',
- error_args=(line.name, line.id,))
+ error_args=(line.move.number, line.id,))
lines = lines[:]
if journal and account:
--
--
[email protected] mailing list
---
You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.