Odoo External API: Search And Read From Odoo Database

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 27

  • @huzaifaelnaeem1620
    @huzaifaelnaeem1620 Місяць тому +1

    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 ?

  • @manuelvera8453
    @manuelvera8453 3 місяці тому

    is not working for me. DO i need to have some environment or applications installed-runnig before try to use it?

  • @blajarsportif6611
    @blajarsportif6611 Рік тому

    Hi Odoo Mates, could you please explain how we can attach and retrieve image to an crm lead internal note. Thank you.

  • @hajardekdegue5382
    @hajardekdegue5382 Рік тому +1

    thank you sir, how can i read all the details about the products using odoo external api ?

    • @OdooMates
      @OdooMates  Рік тому

      you can use search_read or read method to read data from odoo

  • @zikrifadilah07
    @zikrifadilah07 2 роки тому

    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

    • @OdooMates
      @OdooMates  2 роки тому

      yes you can this from external application to communicate with odoo

    • @zikrifadilah07
      @zikrifadilah07 2 роки тому

      ​@@OdooMates I got fire from an external app, but I'm confused about entering the data into odoo

    • @OdooMates
      @OdooMates  2 роки тому

      You write method with odoo external api

    • @zikrifadilah07
      @zikrifadilah07 2 роки тому

      @@OdooMates thanks you

    • @OdooMates
      @OdooMates  2 роки тому

      @@zikrifadilah07 welcome brother

  • @chaiykroem1360
    @chaiykroem1360 6 місяців тому

    How to read data from api to template for show data?

  • @ahmedsamy3509
    @ahmedsamy3509 2 роки тому

    Thanks for That 🙏

  • @returnZeroo
    @returnZeroo 7 місяців тому

    Damn, I can make a addon for my purpose and write apis for external uses using python fast-api/flask 🎉

  • @jakeng3708
    @jakeng3708 Рік тому

    why does it say execute_kw method not found

  • @julesruzindana-rukundo6254
    @julesruzindana-rukundo6254 5 місяців тому

    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, )]

  • @cheikhahmedtidianediop2384
    @cheikhahmedtidianediop2384 2 роки тому +1

    super thanks lot hate de voir approfondire

    • @OdooMates
      @OdooMates  2 роки тому

      merci pour le soutien et l'amour

  • @abdurrazzak1612
    @abdurrazzak1612 2 роки тому +1

    thanks

  • @Hovah14
    @Hovah14 Рік тому +1

    how can I find my username on odoo ??

    • @OdooMates
      @OdooMates  Рік тому

      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

  • @wadhajable
    @wadhajable 2 роки тому

    Thanks sir
    How can I make this as executable file
    External_api.exe

    • @OdooMates
      @OdooMates  2 роки тому

      Not sure how to do this, we having tried such a scenario yet

    • @wadhajable
      @wadhajable 2 роки тому

      @@OdooMates
      How it will be used by users? Unless it concerted to exe. Is there any other way?

    • @OdooMates
      @OdooMates  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