how can i validate invoice or register payments or similar actions via the external api? I see models but not methods for them
I am currently evaluating odoo and want to see if i can integrate it with a currently running internal software
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
how can i validate invoice or register payments or similar actions via the external api? I see models but not methods for them
I am currently evaluating odoo and want to see if i can integrate it with a currently running internal software
With an assumption that you have gone through the external API documentation here https://www.odoo.com/documentation/12.0/webservices/odoo.html
This can be done in a similar way you search for the records e.g let say my invoice id is 1, this method action_invoice_open will validate the open invoice.
...execute_kw(db, uid, password, 'account.invoice', 'action_invoice_open', [['id','=' 1]])
Yes This is right.
for reference https://www.odoo.com/documentation/11.0/api_integration.html
Ajepe, (I can't reply directly to your comment at the moment so writing out response here)
thanks for the reply. I did go through the webservices page but isn't there a manual/document where I can go through for such stuff? Where can I see the applicable methods for such models?
Would I have to manually go to the models page every time and look for what I need to do?
You will need to check the model defintion in the source code to know the actual model to call from the RPC, Odoo does not provide manual for the available mothods in each model, you will need to figure it out by yourself.
thanks for your help!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Sep 24
|
3 | ||
|
0
Sep 24
|
348 | ||
|
1
Jun 24
|
666 | ||
|
1
Mar 24
|
924 | ||
|
2
Mar 24
|
4355 |