Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
6962 Prikazi

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? 

Avatar
Opusti
Best Answer

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


Avatar
Opusti
Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
nov. 22
9758
1
jul. 25
655
1
apr. 19
4226
3
jan. 25
4540
1
nov. 24
94