Skip to content

Commit

Permalink
[FIX] internal_transfer_with_agreed_amount: fix optional lints
Browse files Browse the repository at this point in the history
Fix ambiguous variable name.
  • Loading branch information
CLaurelB authored and luisg123v committed Jun 18, 2024
1 parent b8e2c45 commit cb4dd63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_01_transfer_local_eur(self):
)

# Check journal item in EUR
eur_aml = aml.full_reconcile_id.reconciled_line_ids.filtered(lambda l: l != aml)
eur_aml = aml.full_reconcile_id.reconciled_line_ids.filtered(lambda line: line != aml)
self.assertRecordValues(
eur_aml,
[
Expand Down Expand Up @@ -87,7 +87,7 @@ def test_02_transfer_eur_local(self):
)

# Check journal item in EUR
eur_aml = aml.full_reconcile_id.reconciled_line_ids.filtered(lambda l: l != aml)
eur_aml = aml.full_reconcile_id.reconciled_line_ids.filtered(lambda line: line != aml)
self.assertRecordValues(
eur_aml,
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def apply(self):
if not self.agreed_amount:
return
to_reconcile = amls.filtered(
lambda l: l.account_id == l.company_id.transfer_account_id
lambda line: line.account_id == line.company_id.transfer_account_id
).full_reconcile_id.reconciled_line_ids
context = {"check_move_validity": False, "skip_account_move_synchronization": True}
if exchange_currency == payment.company_currency_id:
Expand Down

0 comments on commit cb4dd63

Please sign in to comment.