[FIX] account_reconcile_oca: Models where failing on default with a different currency
parent
c11225c681
commit
91e974803f
|
@ -435,7 +435,7 @@ class AccountBankStatementLine(models.Model):
|
|||
self.manual_reference
|
||||
)
|
||||
elif res and res.get("amls"):
|
||||
amount = self.amount
|
||||
amount = self.amount_total_signed
|
||||
for line in res.get("amls", []):
|
||||
line_data = self._get_reconcile_line(
|
||||
line, "other", is_counterpart=True, max_amount=amount
|
||||
|
|
Loading…
Reference in New Issue