Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2139 มุมมอง

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

อวตาร
ละทิ้ง