Skip to content

Commit

Permalink
Merge pull request #333 from Vauxoo/16.0
Browse files Browse the repository at this point in the history
Syncing from upstream Vauxoo/addons-vauxoo (16.0)
  • Loading branch information
bt-admin authored Jun 19, 2024
2 parents 10f05b5 + cb4dd63 commit 5aedfdc
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 5aedfdc

Please sign in to comment.