Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
124 Переглядів

I have an sh, but I need to transfer the branch from another .sh, including all of my modification.


Do I need to transfer all of the apps, model/views/controller etc. to that GitHub? or does the downloaded SQL/DB Dump already contains it, and just directly insert it there? 

Аватар
Відмінити
Найкраща відповідь

Hi,


In Odoo.sh, your custom code and your database content are two completely separate things,  so just importing a SQL/DB dump will not bring over your custom modules, models, views, or controllers.


DB Dump contains,

      - All data stored in the database (products, partners, sales orders, settings, etc.).

      - Configuration records, including some settings for installed apps.

      - But it does NOT include the actual Python/JS/XML code of your custom modules.


Migration steps,

1- Clone the branch from the old Odoo.sh repo to your local machine.

2- Push that branch to the new Odoo.sh project’s GitHub repository.

3- On the new Odoo.sh, deploy that branch.

4-Once it’s running, restore the database using the SQL dump from the old Odoo.sh.


Hope it helps

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
лип. 25
16828
0
бер. 25
892
0
квіт. 24
1857
1
лют. 24
2185
2
лип. 24
1534