Comments (10)
Not possible, sorry. The same situation would be in the previous workflow when finishing the order. Now, it's done in another part, and it has the advantage of generating already the accounting in draft.
Optimizations should come from Odoo itself in their object account.payment
.
from bank-payment.
Just adding some context.
This is for debit order. Account payment is not needed because, the bank don't tell us which withdrawn fails. So we only wait for when the money comes in and reconcile the out_invoice with.
Adding an option (on the payment order or on the payment mode) to not generate account payment would indeed solve the performance issue. Would this be accepted by the OCA?
On the other end, what can be done to enable optimization , should we raise an issue directly on odoo?
from bank-payment.
This has nothing to do with the money direction. Odoo core + enterprise does the same with payment and debit orders. The idea of this refactoring is:
- Simplify code, letting Odoo core code to deal with the complexity of reconciliations.
- Allow to handle "in_payment" payment state.
- Pre-generate ASAP the accounting.
from bank-payment.
You're correct, we have the same issue is with the former odoo oca code. And money direction doesn't change the issue.
The change to come closer to odoo core is really good.
Let me explain our use case, maybe you might see the issue from a different angle with your odoo knowledge.
We have more than 3000 customers with direct debit. With the actual process (in odoo community) we have two problems:
- performance to generate (10 min) and validate (10 min) the debit order (perfomance is slightly slower than the previous oca code)
- when we mark the debit order as uploaded, the invoices related are marked as paid.
This is an issue because, when our customers phones in to inquiry about theirs payment status, our collegue might say that everything's all right when it's not. (if the debit fails on their account). There are no pain 002 to inform about the status of each withdrawal attempts.
For us, the use for the debit order object is to:
- inform that the invoice was selected in a debit order
- create the file for the bank
I don't know if our use case can be served with the odoo community as it is now or if it is very special and not common to other OCA odoo user.
In that case we should develop our own customization to enable using direct debit.
What is your advice?
from bank-payment.
For the point 1, it's true that the performance is now a bit less, but it's because it's doing more things. Going to v16 will improve a lot on this.
For the point 2, we have done this move for covering such case, as we will be able to put the invoices in "In payment" state, and switched to Paid when reconciling the statement. This is what I'm now investigating.
from bank-payment.
Great regarding the in payment state, this is really a good move. First time I hear about that.
Looking forward to see that.
Regarding the performance issue, we just moved to 14 from 12. We are unfortunately not ready to go for 16.
We don't have the capacity to improve odoo code so we might try to bypass account.payment while waiting for moving to 16.
If you have a better idea, I would be glad to hear it.
Thanks
from bank-payment.
Hi @pedrobaeza
For the point 2, we have done this move for covering such case, as we will be able to put the invoices in "In payment" state, and switched to Paid when reconciling the statement. This is what I'm now investigating.
Was there any outcome of your investigating regarding "In Payment" state ?
Thanks
from bank-payment.
Not yet, sorry. Busy holidays comeback...
from bank-payment.
Hi @pedrobaeza
Do we need more than just having _get_invoice_in_payment_state() return 'in_payment'
That seems to work in a minimal test
Or am I missing something?
from bank-payment.
Yes, @alexis-via was pointing in that direction. Check #1174
from bank-payment.
Related Issues (20)
- [14.0][account_payment_sale] HOT 3
- [16.0] account_payment_mode: Note field box too narrow HOT 2
- [16.0] account_payment_partner: partner_bank_id empty for out_invoice with l10n_ch HOT 2
- Cash payment mode HOT 1
- Error al instalar account banking sepa direct debit en la versión 16.0 Spain HOT 1
- [account_payment_order] error migrating 14.0 to 15.0 HOT 1
- V16 account_banking_sepa_direct_debit HOT 3
- 16.0]´account_banking_sepa_credit_transfer HOT 1
- SEPA Banking Mandate Improvement HOT 2
- Migration to version 17.0 HOT 18
- Account move dates are always set to payment date in account_payment_order HOT 5
- [16.0] bank-payment/tree/16.0/account_banking_sepa_credit_transfer error when adding bill to outgoing payment HOT 2
- [15.0] account_payment_mode - error in multicompany HOT 2
- [16.0] On payment order Sepa Direct Debit, partner bank is not rirg HOT 5
- [16.0] payment order communication does not use structured communication payment reference HOT 4
- [14.0] account_banking_pain_base: Wrong length in AdrLine
- Problems with xml file when uploading to the bank (banking_sepa_credit_transfer)
- Python library not installed: unidecode HOT 1
- Download XML
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bank-payment.