changeset 8d7d34ab4e48 in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset;node=8d7d34ab4e48
description:
        Set proper key name for error message

        issue9766
        review300751002
diffstat:

 period.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 64b7fe636940 -r 8d7d34ab4e48 period.py
--- a/period.py Sun Oct 25 11:02:23 2020 +0100
+++ b/period.py Wed Oct 28 23:44:17 2020 +0100
@@ -312,7 +312,7 @@
             raise ClosePeriodError(
                 gettext('account.msg_close_period_non_posted_moves',
                     period=unposted_move.period.rec_name,
-                    move=unposted_move.rec_name))
+                    moves=unposted_move.rec_name))
         journal_periods = JournalPeriod.search([
             ('period', 'in', [p.id for p in periods]),
             ])

Reply via email to