Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
60551 Lượt xem

Hi everybody, I used the source install method to install Odoo 13 CE.

It's a bit confusing, as based on  the YouTube video, I can see their odoo.conf is stored in ~/odoo/odoo-11.0

However, my odoo.conf was stored in   Folder (inode/directory)   so called debian in   /home/ralph/odoo-dev/odoo


What's more confusing is that when I search for the file odoo.conf in my Ubuntu. I can see there are 2 files:

The first one is in debian

The second one is in /home/ralph/odoo-dev/odoo/addons/point_of_sale/tools/posbox/configuration


So my question is, which one (odoo.conf) should I use? Is this a change from Odoo version 13 onwards?

My software version: Ubuntu 19; Odoo 13 CE

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can see the conf file in this path: /odoo/debian/odoo.conf

Or in Github, this link:  https://github.com/odoo/odoo/blob/13.0/debian/odoo.conf


If you didn't spot one config file, you don't want to get confused you can just create a new file in this name in the anywhere as you need, if you are running odoo with pycharm, in the configuration you can specify the path to conf file, if you are running using service specify the configuration file by -c path_to_conf file .

Pycharm Configuration:



Sample Conf File:

[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/python3/dist-packages/odoo/addons

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 23
7027
1
thg 11 22
2475
2
thg 10 23
583
2
thg 9 23
9521
1
thg 12 24
1488