Skip to content

Commit

Permalink
[IMP] account_reconcile_oca: Add validation for applicability of anal…
Browse files Browse the repository at this point in the history
…ytic plans

    adds validation for the applicability of analytic plans, ensuring that mandatory plans or accounts requiring analytic imputations are properly validated.

    The validate_analytic context is used in the analytic mixin to validate the applicability of analytic plans when generating analytic lines.
  • Loading branch information
BernatObrador committed Dec 16, 2024
1 parent 59f3a4b commit dcd69cc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ def _reconcile_bank_line_edit(self, data):
check_move_validity=False,
skip_sync_invoice=True,
skip_invoice_sync=True,
validate_analytic=True,
)
.create(self._reconcile_move_line_vals(line_vals))
)
Expand Down

0 comments on commit dcd69cc

Please sign in to comment.