Skip to Content
Menu
This question has been flagged
2 Replies
2923 Views

Hi, does anyone know why is it that the database name is part of the URL and sometimes it is not? 

We are in the midst of a three pronged implementation and have to switch databases often. But, sometimes, we have to bend backwards to find in which one we are. 

Has anybody come up with a simple way of being informed, at all times, in which database one is? (The users / testers raised the questions as they use, at least, "playground" and "main").

Thank you in advance

BTW: We are using V8 and I am asking this not wanting to generate a custome field which is the "easy" way out.

Avatar
Discard
Best Answer

You could create a custom field that contains the databasename and show this somewhere in the header of the screen perhaps? Then you can't make any mistakes :) The logo is another good way to know in which db you are.

Avatar
Discard
Author Best Answer

Having not enough karma I can not convert Yenthe's comment into an answer but I REALLY liked the suggestion of the logo change. Implemented immediately. Thanks.

Avatar
Discard

here converted to answer.. feel free to upvote :)

Upvoted, of course ... very creative. Thank you


Luis Panozzo (Lp)
Technology Manager
Elmatica AS
luis.panozzo@elmatica.com
Skype: luispanozzo

On 21 January 2015 at 14:44, Bole <bole-dajmi5-com@mail.odoo.com> wrote:

here converted to answer.. feel free to upvote :)

Hope it helps...
may the source be with you!


Sent by Odoo S.A. using Odoo about Forum Post Trivial: About the database name (73771)

Awesome! Thank you Luis. On a sidenote: Perhaps you should add the code to your 'answer' here? Maybe others can benefit from this too!

Nevermind, I saw you went with the image method. I honestly think it would be nice to have some feature in Odoo that shows you the database name somewhere when you have more than one database though! So you can make no mistakes.

well that is interesting for developers... users mostly use one db.. .(may be multicompany, but still one db) .. that is the main reason for not putting it visible... also on saas there can be many bds, but user from one db will probably never know how many of them is on saas server... so.. basicaly... this is a help for dev-teeams.. user ... they will probably not even notice such thing..

Probably not ... but the DB name display may very well be set as a user preference ... why not? 


Luis Panozzo (Lp)
Technology Manager
Elmatica AS
luis.panozzo@elmatica.com
Skype: luispanozzo

On 21 January 2015 at 15:15, Bole <bole-dajmi5-com@mail.odoo.com> wrote:

well that is interesting for developers... users mostly use one db.. .(may be multicompany, but still one db) .. that is the main reason for not putting it visible... also on saas there can be many bds, but user from one db will probably never know how many of them is on saas server... so.. basicaly... this is a help for dev-teeams.. user ... they will probably not even notice such thing..

Hope it helps...
may the source be with you!


Sent by Odoo S.A. using Odoo about Forum Post Trivial: About the database name (73771)

Author

Well, creative as the answer or suggestion is there seems to be a bug because not always does the logo for the testing DB appears. We have -conceptually- four environments. A production and a testing DB, each with two companies. I just wanted the testing DB, regardless of the company, to display a dummy logo. Well, it seems to be that it odes that but in an erratic manner. I will be investigating more.