Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2306 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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

   

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ott 19
2852
2
set 23
4512
1
ott 21
2383
0
set 20
4357
2
mar 21
2254