Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to remove the database selector for other visitors. I have more then 1 database. When I tip the url /web/database/selector it should show all databases that I have. Only when a visitors visit my site the firs time, he should have no selector and be redirected to the normal website.
How I can set this with virtual host in nginx? (https://github.com/odoo/odoo/issues/1401#issuecomment-84889934)
This is not the answer to my problem.
I want that new visitors don't get redirected to /web/database/selector.
It should be redirected to a db that is set as primary DB.
But when I tip in the URL /web/database/selector it should show me all my dbs that i have.
Don't work with that dbfilter, when I tip in web/database/selector it shows me only 1 database not all.
I want that when I tip web/database/selector it shows me all my database and when one visitor visit my site it goes to a random database, and not to the selector
Edit: Ok I found a way to clear my issue with Odoo 8 nginx. Contact me for Info.
For a default database use the --db-filter='<dbname>' in the odoo startup comand. How to do this depends on the OS you are running. I do run Ubuntu and added the filter to the start function in /etc/init.d/odoo
The filter can not be user dependent, so as a DevOps you must deal with this feature. You can either:
- use the db-filter and create another odoo instance on the same server for managing the databases or
- you can change the filter and restart the odoo service, execute your database actions and restore your db-filter or
- create another Odoo server (copy the first) for your purpose
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/30/15, 2:59 AM|
|Seen: 1528 times|
|Last updated: 5/22/15, 8:50 AM|