Odoo Help

Welcome!

This community 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.

2

Trivial: About the database name

By
Luis Alberto Panozzo
on 1/21/15, 8:07 AM 796 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.

1

Yenthe

--Yenthe--
6686
| 7 7 8
Turnhout, Belgium
--Yenthe--

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

Yenthe
On 1/21/15, 8:44 AM

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.

0
Luis Alberto Panozzo
On 1/21/15, 8:42 AM

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.

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

Bole
on 1/21/15, 8:44 AM
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)

Elmatica AS, Luis Alberto Panozzo
on 1/21/15, 8:46 AM

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

Yenthe
on 1/21/15, 8:58 AM

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.

Yenthe
on 1/21/15, 9:05 AM

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

Bole
on 1/21/15, 9:15 AM
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)

Elmatica AS, Luis Alberto Panozzo
on 1/21/15, 9:21 AM

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.

Elmatica AS, Luis Alberto Panozzo
on 1/26/15, 8:32 AM

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/21/15, 8:07 AM
Seen: 796 times
Last updated: 3/16/15, 8:10 AM