[18.0][PORT] account_payment_partner: add flag to control partner_bank_id without payment mode#5
Closed
felipemotter wants to merge 3 commits into18.0from
Closed
Conversation
f558a69 to
78b34bd
Compare
…thout payment mode Add a company-level setting keep_partner_bank_without_payment_mode (default True) that controls whether partner_bank_id is preserved or cleared when no payment mode is set on an invoice. When enabled (default), invoices without a payment mode keep the bank account auto-selected by Odoo core. When disabled, the bank account is cleared (legacy behavior). This resolves the long-standing disagreement in OCA#1418 by letting each company choose the behavior that fits their workflow.
3bb2bcc to
c8fbc90
Compare
c8fbc90 to
9a70e8e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Port da feature para 18.0: flag
keep_partner_bank_without_payment_modenores.company.partner_bank_idé preservado ou limpo quando não há payment modeTrue: mantém o banco auto-selecionado pelo core do OdooFalse: limpa o banco (comportamento legado)