콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2250 화면

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

아바타
취소