跳至内容
菜单
此问题已终结
1 回复
2815 查看

I need to move my custom addons to a different folder and upgrade some of them in the process. I'm wondering what are the risk involved and what to do to prevent Odoo from breaking..

Do I need to keep existing __pycache__ or I could just clone fresh repository from Git (without pycache)?


Previously when I tired to move and upgrade many addons at the same time Odoo didn't handle it very well and basically broke and I had to fallback to the old folder. I feel like Odoo tried to compile to many addons at the same time and whole process stopped.

Looking for any tips.


Using Odoo 13 on Ubuntu 20.04

形象
丢弃
最佳答案

Hey Marcus,

You may try the below steps:

1. Commit all your custom addons to Github.

2. Stop the Odoo server running on your server

3. Create a directory where you want to place your custom addons

4. Take a clone of your custom addons from GitHub to your newly created directory

5. Copy the path of your newly created directory and update odoo.conf file 

6. Start your Odoo server 

7. In case of any errors, you may check the logs using the below command 

    tail -f /var/log/odoo/odoo-server.log

Thanks

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

形象
丢弃
相关帖文 回复 查看 活动
1
10月 19
3110
2
9月 23
5392
1
10月 21
2752
0
9月 20
4831
2
3月 21
2502