Transfer Data Between Databases Using XMLRPC In Odoo : Database Migration

Поделиться
HTML-код
  • Опубликовано: 3 апр 2020
  • How to transfer data across database using odoo xmlrpc. Transfer Data from one database to another database. How to transfer data from one database to another database. Transfer data from one database to another database using xmlrpc in odoo.
    Support us in Ko-Fi : ko-fi.com/odoomates
    Email: odoomates@gmail.com
  • НаукаНаука

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

  • @kashifmanzoor7949
    @kashifmanzoor7949 4 года назад +1

    Thank you for guiding the community mates.

  • @Nikhilkrishnan
    @Nikhilkrishnan 4 года назад +1

    Very good tutorial, thanks.

  • @kevalshah4575
    @kevalshah4575 Год назад

    Can the data be transferred with the external ID as well?

  • @aslamuppintavida8352
    @aslamuppintavida8352 20 дней назад

    if we transfer odoo 15 sale order to odoo 17 sale order, and there are attachments / file store linked to this order. How will transfer this ? attachments/ file store ?

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

    How to display according to selected days data to weekly view in calendar?please, explain me for calendar view.

  • @mohammedajmal3264
    @mohammedajmal3264 3 года назад +1

    Hi
    for the migration purpose , is both db wants to be running and if so , can we run one db on normal window and other on private window?

  • @shimonzakon9749
    @shimonzakon9749 2 года назад

    Thank you for the great tutorials .
    Is it possible to sync data (one way) like once first transfer done to get only either new leads or updated leads to get transfer

    • @OdooMates
      @OdooMates  2 года назад

      will be possible, but we have to make it

  • @eanyan3805
    @eanyan3805 2 года назад +1

    Great video! Is this method capable for file transfer? Generally the records has multiple binary files come with them.

  • @nestoravalosba
    @nestoravalosba 3 года назад +1

    Thanks for this video, this code can be used in Automated Action or Schedule action?. When user create a Lead in a versión 11, this lead is too created in version 13.

    • @OdooMates
      @OdooMates  3 года назад +1

      Not directly from the UI, but from the code you can achieve it

  • @aslamuppintavida8352
    @aslamuppintavida8352 3 года назад +2

    Thanks for the video..
    if we need to create data real time is possible. That is at the time of creation of a lead in Odoo 12 , same lead will be created in Odoo 13 also... is this possible...???
    Or is it better running a automated action in Odoo 13 to fetch newly created datas in Odoo 12.. Awaiting your reply

    • @OdooMates
      @OdooMates  3 года назад +1

      yes possible you can override the create and write method of odoo12 and call the newly creating syncing method to update data in odoo13 instantly

  • @mixdevdev3955
    @mixdevdev3955 4 года назад +1

    there is some way to transfert all table in the database to the new database for different version of Odoo?

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

      Definitely there will be changes in database tables on each version, at that time, we have to write the logic and fields mapping correctly in the script

  • @bessemtoumia111
    @bessemtoumia111 2 года назад +2

    Excellent Tutorial thank you sir but i want ask you, this methode is valid for migration from version 12 to version 15 community ?

    • @OdooMates
      @OdooMates  2 года назад +2

      yes will be possible, script has to designed such a way by understanding the difference between the DS in odoo 12 and odoo 13.
      For example, account.invoice is not existing in odoo 15, so the one who write script should know it and data has to be mapped correctly

  • @MuhammadImranSarwar-dh4rv
    @MuhammadImranSarwar-dh4rv 4 года назад +1

    Like that we can migrate Odoo 10 Database to Odoo 13 enterprise.? Or any helping materiel about that please.

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

      proper logic's has to be done for that, across the version there will be changes, so we have to consider those and add it to script

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

    Excellent as always friend, consult, is there a tool that can migrate all the tables and guide us on the order of tables to migrate first? Thank you very much in advance for your answer :)

    • @OdooMates
      @OdooMates  4 года назад +1

      That we have to analyse and check based on the installed in the database

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

      @@OdooMates Thank you very much for your answer :)

  • @gokulakrishnanmurugesan
    @gokulakrishnanmurugesan 3 года назад +1

    If the field does not exist(or name change) while migration, that time what we do?

    • @OdooMates
      @OdooMates  3 года назад

      this has to be adjusted in the scrypt

  • @zorojuro5106
    @zorojuro5106 2 года назад +1

    I have been finding a way to Sync Data from LocalDB to Production Database. I have created a custom module and developed the web page using web controllers, however some web pages I created using drag and drop functionality of the web module, I guess these changes are saved in the database. How to synch those data from the local database to the production database?? whats the mechanism of Sync drag-drop functionality from Local to Production.

    • @OdooMates
      @OdooMates  2 года назад +1

      you can export that views from the views menu in the settings - technical - user interface -> views and import it in production

    • @zorojuro5106
      @zorojuro5106 2 года назад +1

      @@OdooMates Thanks a lot buddy it worked like a charm

    • @OdooMates
      @OdooMates  2 года назад +1

      Glad that it helped

  • @ibrahimhalouane8130
    @ibrahimhalouane8130 4 года назад +1

    Does Odoo have backward compatibility at the database schema?

    • @OdooMates
      @OdooMates  4 года назад +1

      this just way a showing how we can connect the two different odoo instance and transfer the data. Along with this if we can add some logic's for data migration, we can easily migrate odoo to forward or backward versions.

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

    how can i add all fields and all views of each models??

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

      You can create a script for it and apply the logic

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

    can it work from odoo10 to odoo13?

  • @raafatalnakar
    @raafatalnakar 3 года назад +1

    Please Where can we find these files

    • @OdooMates
      @OdooMates  2 года назад

      Unfortunately it is not hosted or shared in the github, even it get deleted.

  • @msohailutube
    @msohailutube Год назад

    Thanks for this video, I am trying to transfer data with this script from odoo13 to odoo14 and getting a "False" value in the uid_db1 variable
    uid_db1 = common_1.authenticate(db_1,username_db_1,password_db_1,{})
    can you pls guide what's wrong with this line?

    • @OdooMates
      @OdooMates  Год назад

      may be you passed wrong db credentials ?

    • @msohailutube
      @msohailutube Год назад

      @@OdooMates Thanks issue has been resolved, I was passing the Postgres user credentials.
      I have one more question I want to transfer data (with database ids) from v13 to v15 db. I want to create the same database ids in my v15 db which exist in my v13 db, is it possible?

    • @OdooMates
      @OdooMates  Год назад

      It will be tricky, to create with same id there

    • @msohailutube
      @msohailutube Год назад

      @@OdooMates any guidance/hint on this, so I can further explore it.

  • @ashaAhmed-hi5yl
    @ashaAhmed-hi5yl Год назад

    This code will repeat the result wehen i excute the code again i want none repeat please

    • @OdooMates
      @OdooMates  Год назад +1

      you have to further modify the scrypt/coding to check if the data exists in the db or not

    • @ashaAhmed-hi5yl
      @ashaAhmed-hi5yl Год назад

      How can i do this

    • @OdooMates
      @OdooMates  Год назад

      Check the record exists in the db, this can be done using odoo search method and if conditions