跳至內容
選單
此問題已被標幟
4 回覆
3984 瀏覽次數

If I hide the database manager, and I have 2 databases with the same user.

When I login which database will be selected?

Is it posible to hide de databases and log-in with a user related to one specific database?

頭像
捨棄

Enhance your Odoo experience with the Custom Branding and Copyrights module. This powerful tool allows you to remove default branding messages and personalize your Odoo instance to reflect your company's identity seamlessly.

https://apps.odoo.com/apps/modules/17.0/mh_hide_powered_by_odoo_website

最佳答案

1. To hide the database manager, set list_db = False in the configuration file.

2.To define the database to be used, set dbfilter = my_db in the same file

頭像
捨棄
最佳答案

Clean and secure login: hide the Manage Databases link on the Odoo 16 login page and throws up 404 error if user tries to access web/database/manager. Works even when list_db = True, allowing modules like OCA's auto_backup to operate normally while keeping the login UI tidy.

Hide Manage Databases Link

頭像
捨棄
作者 最佳答案

I want to log in with user "user1" to database1 and user "user2" to database2,  is that posible?
Is there a way to enroll users to databases so when a users logins goes to the right database?

頭像
捨棄
最佳答案

Hi,

You can hide the database manager by adding list_db=False in the configuration file and to specify which database has to be used, you can add db_name=my_db in conf file.


Thanks

頭像
捨棄