Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1611 Widoki

Hello

I m currently using odoo 16.0 enterprise 

i currently have a production server that wasnt installed by me , which seems to be installed from source  with a patchwork of paths to addons : 

addons_path=/opt/odoo/enterprise,/opt/odoo/odoo/addons,/opt/odoo/plugins/sym_links


whatever i add is working but i m lacking a ton of addons that should be found in /opt/odoo/odoo/addons, i have 0 theme installed instead of all the bases one

To test i installed a new server from scratch with official enterprise binary

but i have the same issue if i try to change the addon path : 

addons_path = /usr/lib/python3/dist-packages/odoo/addons,/home/odoo/my_addons

to add some new modules.

it break the basic theme of my odoo when i restart the server.

what am i doing wrong or not understanding ?





Awatar
Odrzuć
Najlepsza odpowiedź


  •  Verify all necessary paths are included in addons_path. Check permissions and ensure modules are correctly installed and accessible. Review logs for errors.

  • Solution: Ensure addons_path includes both default and custom paths correctly. Avoid conflicts between default and custom modules. Rebuild assets if needed and review logs for any issues.
Awatar
Odrzuć
Autor Najlepsza odpowiedź

as soon as i change my configuration to add /home/odoo/myaddons to my odoo.conf it break the theme 

here are the access right that i gave to my 2nd addon folder :

 sudo chown -R odoo:odoo /home/odoo/myaddons 

sudo chmod -R 755 /home/odoo/myaddons 

to check i keps the folder empty and still break the site when i add addons_path = /usr/lib/python3/dist-packages/odoo/addons,/home/odoo/my_addons


should i use a different path for odoo normal path ?



Awatar
Odrzuć