Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2113 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează