I'd like to create a module that will send payments of the vendor bills (from the ODOO backend, not from the website frontend for customers).
Where should I start? I was looking at payment_*** modules, but those seems to work for inbound transactions, I'd like the module to do outbound transactions.
I can override write method of the account.payment but I feel that it's not the right ODOO way.
Thanks in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Thanks, that was my way of thinking but I want to follow the workflow as it is now. Your proposal is to do it using some "Send" button? Or cron?
Are there any modules that are working like that so I can have a look how to do it?
I want the payment to be sent when invoice changes to "Paid" or when Account payment is set to "Paid"
What is the proper workflow?
You should build a custom module that:
- Selects posted vendor bills that are due.
- Creates an account.payment record in "outbound" direction.
- Posts the payment (if conditions are met).
- Optionally: logs, error handling, or reconciliation.
- Later, you could:
- Hook into SEPA (via account_sepa) or use payment_acquirer subclass for custom outbound flow.
- Or directly post transactions to your banking API (e.g., with requests module
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Feb 25
|
771 | ||
|
0
Nov 24
|
594 | ||
|
2
Mar 23
|
1998 | ||
|
1
Mar 17
|
10780 | ||
|
2
Dec 23
|
18208 |