OpenERP 7 - Import data using XML-RPC and Python Script

Поделиться
HTML-код
  • Опубликовано: 12 дек 2024

Комментарии • 6

  • @easyzatca
    @easyzatca 10 лет назад

    Wow, Fantastic. Thankyou so much for this video. I just have a quick question, is this also possible with the orders? actually i am try to create a connector with my PHP application. When we get an order from php we how will the order be sent to openerp? and is cron job the only way we can import this data?

  • @Riscio88
    @Riscio88 11 лет назад

    Can I use this method for import BOM? I try to import product with csv file but i have problem to obtain the tree view of the bom :(

  • @zaidnomani3651
    @zaidnomani3651 7 лет назад

    I tried the same but getting the following error
    C:\odoo\Odoo 10.0\server>import_example.py
    Traceback (most recent call last):
    File "C:\odoo\Odoo 10.0\server\import_example.py", line 1, in
    import xmlrpclib
    File "xmlrpclib.pyc", line 143, in File "socket.pyc", line 47, in
    AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
    ImportError: DLL load failed: %1 is not a valid Win32 application.
    Could you please help me to resolve the above error?

  • @hardyakkaprogrammer3564
    @hardyakkaprogrammer3564 11 лет назад

    I don't know why people just try to complicate things up. Im sure same thing can be done a lot cleaner way using a plain old JSON rather than XML RPC, SOAP or whatever you name it.

    • @walidromdhani4682
      @walidromdhani4682 4 года назад

      Hi,
      I created a REST API with my web application and I want to manage this data with Odoo.
      So, I want to create my own module on Odoo to read this REST API from my web application with odoo.
      Please guide me how to read the REST APIs with 3 parameters (URL, user, Mp) on Odoo.
      Thank you

  • @walidromdhani4682
    @walidromdhani4682 4 года назад

    Hi,
    I created a REST API with my web application and I want to manage this data with Odoo12.
    So, I want to create my own module on Odoo to read this REST API from my web application with odoo.
    Please guide me how to read the REST APIs with 3 parameters (URL, user, Mp) on Odoo.
    Thank you