Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2130 Представления

I am running Odoo with two different databases. I have two different domain names:

  1. erp.example1.com

  2. erp.example2.com

I've read that with Odoo you can set the `dbfilter` parameter in the config file to:

%d = hostname
%h = hostname.domainname.com

However, Postgres databases do not allow periods in the name. I can't use `%d` because it is the same for both domain names.

How do I setup `dbfilter` so that it checks against the domain name instead of the subdomain?

Аватар
Отменить
Лучший ответ

You can use the %h dbfilter when you name the database like this: hostname-domainname-com (dashes instead of periods).

Аватар
Отменить