-
- Downloads
[FIX] account_*: payment method journal filter
Fix two issues linked to payment methods and their journal link.
SEPA Credit Transfer was marked as only available on EUR journals, but
from what we have been told, and we have seen, it should also be made
available for other currencies (CHF/SEK).
So we are changing the rule used to determine if SEPA Credit Transfer
is available on a journal to allow to use it on journals using CHF or
SEK as a currency.
There is another issue, where the filtering is done differently at the
journal creation and when the user add the payment method manually in
the lists.
The filter rules were not respected at the journal creation, which
would lead to incorrect default inbound and outbound payment method list.
For example, a new journal would have the company currency (let's say,
USD) but still have SEPA Credit Transfer (EUR,CHF,SEK) added on it by
default while it should not be available there.
opw-2777522
closes odoo/odoo#84916
Related: odoo/enterprise#24539
Signed-off-by:
Florian Gilbert <flg@odoo.com>
Showing
- addons/account/models/account_journal.py 22 additions, 2 deletionsaddons/account/models/account_journal.py
- addons/account/models/account_payment_method.py 4 additions, 4 deletionsaddons/account/models/account_payment_method.py
- addons/account_check_printing/models/account_journal.py 1 addition, 1 deletionaddons/account_check_printing/models/account_journal.py
Loading
Please register or sign in to comment