changeset 39440f853093 in modules/account_invoice:6.0
details: 
https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=39440f853093
description:
        Use proper variable name when formatting same account error message

        issue10500
        review348701002
        (grafted from e37577def17b604773457e99dbf92e433311eb83)
diffstat:

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

diffs (12 lines):

diff -r 93d8d9ce16d1 -r 39440f853093 invoice.py
--- a/invoice.py        Thu Jun 17 21:38:48 2021 +0200
+++ b/invoice.py        Wed Jul 07 14:33:00 2021 +0200
@@ -2352,7 +2352,7 @@
                     gettext('account_invoice.msg_invoice_same_account_line',
                         account=self.account.rec_name,
                         invoice=self.invoice.rec_name,
-                        line=self.rec_name))
+                        lines=self.rec_name))
 
     def _compute_taxes(self):
         pool = Pool()

Reply via email to