Create a configuration file for Odoo.

sudo mkdir /var/log/odoo
sudo cp /opt/odoo/odoo18/debian/odoo.conf /etc/odoo.conf sudo nano /etc/odoo.conf

Edit the configuration file to include the following settings:

[options]
; This is the password that allows database operations:
admin_passwd = your_admin_password
db_host = False
db_port = False
db_user = odoo
db_password = your_odoo_password
addons_path = /opt/odoo/odoo18/addons, /opt/odoo/odoo18/enterprise
logfile = /var/log/odoo/odoo18.log

Make sure to replace your_admin_password and your_odoo_password with secure passwords. 

Optionally in the config file you can add the following directives in the [options] section:


;Show only databases with names beginning with ‘mycompany’ dbfilter = ^mycompany.*$
;Show only databases matching the first subdomain after www: for example
;the database “mycompany” will be shown if the incoming request
;was sent to www.mycompany.com or mycompany.co.uk, but not
;for www2.mycompany.com or helpdesk.mycompany.com.
dbfilter = ^%d$

;Optional addon paths, where
; /addons = default odoo addons (Comunity Edition),
; /enterprise = enterprise addons (Enterprise Edition),
; /custom_addons = custom addons
addons_path = /opt/odoo/odoo18/addons, /opt/odoo/odoo18/enterprise, /opt/odoo/odoo18/custom_addons
Rating
0 0

There are no comments for now.

to be the first to leave a comment.