mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_reconcile_oca: Models where failing on default with a different currency
This commit is contained in:
@@ -435,7 +435,7 @@ class AccountBankStatementLine(models.Model):
|
|||||||
self.manual_reference
|
self.manual_reference
|
||||||
)
|
)
|
||||||
elif res and res.get("amls"):
|
elif res and res.get("amls"):
|
||||||
amount = self.amount
|
amount = self.amount_total_signed
|
||||||
for line in res.get("amls", []):
|
for line in res.get("amls", []):
|
||||||
line_data = self._get_reconcile_line(
|
line_data = self._get_reconcile_line(
|
||||||
line, "other", is_counterpart=True, max_amount=amount
|
line, "other", is_counterpart=True, max_amount=amount
|
||||||
|
|||||||
Reference in New Issue
Block a user