Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I would like to associate a payment to an order using the Web Service API.
I generate a correct request. OpenERP acknowledges my request and reply with the DB id of this insertion.
When I visualize the data in the DB I can found my payment but when I open the order in OpenERP my payment is missing...
I expect I have the same issue with a cash withdrawal request.
The common point of this two requests is that they are sent using a popup in OpenERP. I will try to explain. When you would like to do a cash withdrawal on closing you should clic on the button "Withdraw cash" ("Retirer de l'argent" in french). A popup appears where you have to specify the amount. When you validate the request is sent. This request is correctly interpreted when OpenERP generate it but not when I sent it. The problem is the same here. To add a payment you should use a popup in which you specify the data and validate to execute the request...
In those two cases the data is correctly inserted in the database but the association between the payment and the order (for one) and between the cash withdrawal and the session (for the other) don't work.
All others requests I sent are well inserted et interpreted by OpenERP.
Do I need to send another request to simulate the popup?
An idea to repair my broken links between data?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/27/16, 5:15 AM|
|Seen: 280 times|
|Last updated: 6/27/16, 7:07 AM|