[14.0][backport] account: Allow skipping bank account creation on reconciliation #1240
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the issue/feature this PR addresses:
Backport of the fix in account module that introduces a system variable to skip creation of bank accounts in the reconciliation of bank statements. See original PR for more information: odoo#168029
Current behavior before PR:
In cases where multiple partners (Partner A, Partner B) use the same bank account due to a third-party payment handler, bank account is assigned for a Partner A when first invoice is reconciled. Subsequent invoices with the same bank account are reconciled automatically to Partner A using this stored bank account, and Partner B not proposed by the reconciliation widget
Desired behavior after PR is merged:
Allow to avoid storing bank account and having wrong invoices proposed by the reconciliation widget
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr