Skip to Content
Menu
This question has been flagged
3 Replies
2646 Views

i'm trying to add a new addon path by typing it to odoo.cong file, but cant find the odoo.conf file to add the addon path in it, how to find the odoo.conf file?, i'm using ubuntu 16,  when check log:

2017-09-03 16:51:08,661 16781 INFO ? odoo: Odoo version 10.0
2017-09-03 16:51:08,661 16781 INFO ? odoo: Using configuration file at /home/user/.odoorc

and is there a way for creating a new odoo.conf file.

 

Avatar
Discard
Best Answer

You can find the configuration file from documentation of odoo, from where you install the odoo. In documentation of installation of odoo addons path mantion. And for change path you can change it as follows:

addons_path = /usr/lib/python2.7/site-packages/odoo/addons, /opt/custom

Here before comma older path and after comma newer addons path in odoo.config file.

Avatar
Discard
Best Answer

Hello Mohammed Salah,

Type the command "locate" in the terminal and find any file path.
e.g :
Vostro-3446:~$ locate odoo.conf

And also you can refer odoo documents

https://www.odoo.com/documentation/9.0/setup/deploy.html

Thanks

Avatar
Discard
Author Best Answer

thank you, i did try this command, i found only one file in this directory:

/odoo/odoo-server/debian/odoo.conf

and this the file contents:

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False 
db_port = False 
db_user = odoo
db_password = False 
addons_path = /usr/lib/python2.7/dist-packages/odoo/addons


and this file not showing all the addon paths that the server use, and when adding new addon path and restart the server its not functioning.

- and i did try to add an addon path to the addon path:

addons_path = /usr/lib/python2.7/dist-packages/odoo/addons , /odoo/custom/addons

but its not added to the addon path?

Avatar
Discard