跳至内容
菜单
此问题已终结
1 回复
2201 查看

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).

形象
丢弃