Hello sir , I have searched about XML-RPC compare to JSON-RPC and RESTful API and it's unforntly still on odoo documentation till the latest version which is 18 . Why odoo provide documentation about XML-RPC instead of RESTful API or JSON-RPC !! Can you provide videos on other API's in the upcoming videos ?
Hello mates, I want to ask about the api from outside the application is entered into odoo, is the method the same, I use a linux server and odoo 14, I don't know how to put api from outside the application into odoo, I'm stuck, thank you
Hello sir i have an issue with this code(can you help, order is not as expect): livre_ids = models.execute_kw(config.db, uid, config.password, 'esi.lecture.livre', 'search_read', [[['name', 'ilike', titre]]], {'fields': ['name', 'like_count'], 'order': 'like_count DESC, name'}) print([(livre['name'], livre['like_count'], type(livre['like_count'])) for livre in livre_ids])//for debbugging: result(which is not correct it should be 2,1,0 but it is 1 ,0,2): [('Harry Potter et la chambre des secrets', 1, ), ("Harry Potter, I : Harry Potter à l'école des sorciers", 0, ), ("Harry Potter, III : Harry Potter et le prisonnier d'Azkaban", 2, )]
It can be used in different as per the end users need, if I need to run some updates in my dB using a script I can use this, or if I need to sync two odoo dbs I can use this code inside an odoo module, and finally how the end users use this depends on the context
Hello sir , I have searched about XML-RPC compare to JSON-RPC and RESTful API and it's unforntly still on odoo documentation till the latest version which is 18 . Why odoo provide documentation about XML-RPC instead of RESTful API or JSON-RPC !! Can you provide videos on other API's in the upcoming videos ?
is not working for me. DO i need to have some environment or applications installed-runnig before try to use it?
Hi Odoo Mates, could you please explain how we can attach and retrieve image to an crm lead internal note. Thank you.
thank you sir, how can i read all the details about the products using odoo external api ?
you can use search_read or read method to read data from odoo
Hello mates, I want to ask about the api from outside the application is entered into odoo, is the method the same, I use a linux server and odoo 14, I don't know how to put api from outside the application into odoo, I'm stuck, thank you
yes you can this from external application to communicate with odoo
@@OdooMates I got fire from an external app, but I'm confused about entering the data into odoo
You write method with odoo external api
@@OdooMates thanks you
@@zikrifadilah07 welcome brother
How to read data from api to template for show data?
Thanks for That 🙏
welcome brother :)
Damn, I can make a addon for my purpose and write apis for external uses using python fast-api/flask 🎉
why does it say execute_kw method not found
Hello sir i have an issue with this code(can you help, order is not as expect):
livre_ids = models.execute_kw(config.db, uid, config.password,
'esi.lecture.livre', 'search_read',
[[['name', 'ilike', titre]]],
{'fields': ['name', 'like_count'], 'order': 'like_count DESC, name'})
print([(livre['name'], livre['like_count'], type(livre['like_count'])) for livre in livre_ids])//for debbugging:
result(which is not correct it should be 2,1,0 but it is 1 ,0,2):
[('Harry Potter et la chambre des secrets', 1, ), ("Harry Potter, I : Harry Potter à l'école des sorciers", 0, ), ("Harry Potter, III : Harry Potter et le prisonnier d'Azkaban", 2, )]
super thanks lot hate de voir approfondire
merci pour le soutien et l'amour
thanks
Welcome
how can I find my username on odoo ??
you have to request to your admin of odoo instance or if you have access to odoo, you can get it from users menu or from My preference in the side bar
Thanks sir
How can I make this as executable file
External_api.exe
Not sure how to do this, we having tried such a scenario yet
@@OdooMates
How it will be used by users? Unless it concerted to exe. Is there any other way?
It can be used in different as per the end users need, if I need to run some updates in my dB using a script I can use this, or if I need to sync two odoo dbs I can use this code inside an odoo module, and finally how the end users use this depends on the context