From dcd69cc3ed9f2ba0af18dd085d7813e62a30452c Mon Sep 17 00:00:00 2001 From: bobrador Date: Mon, 16 Dec 2024 11:20:28 +0100 Subject: [PATCH] [IMP] account_reconcile_oca: Add validation for applicability of analytic 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. --- account_reconcile_oca/models/account_bank_statement_line.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_reconcile_oca/models/account_bank_statement_line.py b/account_reconcile_oca/models/account_bank_statement_line.py index a59e9c28d..8b08f38dc 100644 --- a/account_reconcile_oca/models/account_bank_statement_line.py +++ b/account_reconcile_oca/models/account_bank_statement_line.py @@ -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)) )