Hi,
I am new to Odoo and i need an api to create invoice numbers, which will be sent to another application.
I will be glad if i can be guided with a step by step approach on how to go about this
Thank you
Derrick
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I am new to Odoo and i need an api to create invoice numbers, which will be sent to another application.
I will be glad if i can be guided with a step by step approach on how to go about this
Thank you
Derrick
Hi,
Looking to create invoice in odoo from external application ? then using the xmlrpc you can connect with odoo and perform operations like read, create and write.
See a sample of creating a contact using xmlrpc:
id = models.execute_kw(db, uid, password, 'res.partner', 'create', [{ 'name': "New Partner", }])
Using this approach you can create invoice in odoo, create method will return the ID of created record, then using read operation you can read the invoice number by passing this ID.
For more have a look at this: https://www.odoo.com/documentation/15.0/developer/misc/api/odoo.html
Video: https://www.youtube.com/watch?v=isjhwKAL63M
Thanks
Thanks for the update, i will try it and revert
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up