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
|Asked: 6/27/16, 5:15 AM|
|Seen: 182 times|
|Last updated: 6/27/16, 7:07 AM|