Skip to Content
Menu
This question has been flagged

Hi,

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?


Thanks.

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
1862
2
Oct 24
345
2
Aug 24
362
3
Jul 24
6444
0
Apr 24
364