Skip to content

Commit

Permalink
[15.0][FIX] Fix payment line property
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkwelltwd committed Jul 17, 2023
1 parent 7526f46 commit c76bf7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion account_banking_ach_base/i18n/account_banking_ach_base.pot
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ msgstr ""
#: code:addons/account_banking_ach_base/models/account_payment_order.py:0
#, python-format
msgid ""
"Missing ACH Direct Debit mandate on the bank payment line with partner "
"Missing ACH Direct Debit mandate on the bank line with partner "
"'%(partner)s' (reference '%(ref)s')."
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions account_banking_ach_base/models/account_payment_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def validate_mandates(self, line):
raise UserError(
_(
"Missing ACH Direct Debit mandate on the "
"bank payment line with partner '%(partner)s' "
"payment line with partner '%(partner)s' "
"(reference '%(ref)s')."
)
% {"partner": line.partner_id.name, "ref": line.name}
Expand Down Expand Up @@ -135,7 +135,7 @@ def generate_ach_file(self):
file_mod=file_mod,
)
entries = []
for line in self.bank_line_ids:
for line in self.payment_line_ids:
if inbound_payment:
self.validate_mandates(line)
self.validate_banking(line)
Expand Down

0 comments on commit c76bf7a

Please sign in to comment.