Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3780 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 25
1548
2
nov 24
6592
2
ott 24
3523
2
ago 24
2021
3
lug 24
8425