跳至内容
菜单
此问题已终结

Hi Community! 

I was reading and thinking about this:
https://www.odoo.com/documentation/11.0/setup/deploy.html


What is the advantage or disadvantage of doing this? 

形象
丢弃
最佳答案

basic use of dbfilter is

you don't have to choose or create database every time

you can't choose database while you restart after DBdrop. that will be a disadvantage (it work with the same dbname every time) 

basically, it makes your routine work faster, nothing else


形象
丢弃
最佳答案

Please read the documentation carefully, it is exactly described. You need dbfilter, when you are using public websites AND hosting multiple databases in your Odoo instance. dbfilter maps the hostname of an HTTP-request to a particular database.

Example:

HTTP-request: https://www.example.com/shop

Hostname is www.example.com in this case.

dbfilter defines the database name to be called (for example "example").

形象
丢弃
相关帖文 回复 查看 活动
2
11月 22
9669
1
7月 25
533
1
4月 19
4165
3
1月 25
4466
1
11月 24
94