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!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 7 25
|
2655 | ||
|
3
thg 7 25
|
483 | ||
|
1
thg 7 25
|
163 | ||
|
1
thg 6 25
|
1945 | ||
|
1
thg 7 25
|
922 |