Skip to content

Commit

Permalink
[FIX] account_reconcile_oca: Pass partner parameter correctly to _get…
Browse files Browse the repository at this point in the history
…_write_off_move_lines_dict
  • Loading branch information
PNurm authored and etobella committed Jul 18, 2024
1 parent 4dd7c4b commit 40a0e64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion account_reconcile_oca/models/account_bank_statement_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,9 @@ def _reconcile_data_by_model(self, data, reconcile_model, reconcile_auxiliary_id
continue
new_data.append(line_data)
liquidity_amount += line_data["amount"]

for line in reconcile_model._get_write_off_move_lines_dict(
-liquidity_amount, self._retrieve_partner()
-liquidity_amount, self._retrieve_partner().id
):
new_line = line.copy()
amount = line.get("balance")
Expand Down

0 comments on commit 40a0e64

Please sign in to comment.