Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: The future of oca/bank-payment

by
Alexinux, Alexis de Lattre
- 01/04/2025 18:33:29
Dear community,

Le mer. 26 mars 2025 à 18:09, Alexis de Lattre <alexis.delattre@akretion.com> a écrit :
Dear Enric,

Le mer. 26 mars 2025 à 12:47, Enric Tobella Alomar <notifications@odoo-community.org> a écrit :
For example with the current system we can decide the bank to pay at the end in a simple way, no complication on that side. With this change, everything becomes more complicated, removing part of the functionality that we have and it was much better that the current Odoo behavior. Also, it implies that users will see one TRansference payment method for each journal, and that is a nonsense.

Did you test my v18 PR that adds the module account_payment_base_oca https://github.com/OCA/bank-payment/pull/1401 ?
My goal was to use the native object account.payment.method.line (used in v18 as "payment mode" on partners and invoices) while keeping the feature "decide the bank to pay at the end in a simple way". And I managed to implement it without breaking the native behavior. It was important to keep this feature !

I prepared a short screencast of my PR 1401 that illustrate the fact that my implementation keeps the feature "decide the bank to pay at the end in a simple way", like in OCA/bank-payment v9 to v17 :


So we can adopt the native object "account.payment.method.line" and keep the great features of OCA/bank-payment.
I even added a small improvement : when you configure "Link to Bank Account" to "Variable", you can select a Default Bank Journal if you want (it's optional).
 
--
Alexis de Lattre

Reference