Community mailing list archives

community@mail.odoo.com

RE: how does odoo remeber its database

by
Danimar Ribeiro
- 07/26/2015 08:39:13
It does not store anywhere.
Have a method db_list that returns the list of databases, when you have just one database that one is the default.
After the database default is set, it saves in the session the current database.

De: robert rottermann
Enviada em: ‎26/‎07/‎2015 08:29
Para: Community
Assunto: Re: how does odoo remeber its database

thanks Jay,

On 26.07.2015 10:57, Jay Vora wrote:
<blockquote cite="mid:CACHFH7=hVSrFLnMeiff7sejwbfpxm==Zn2H0xnBLk2hUgHGf3w@mail.gmail.com" type="cite">
The .openerp_serverrc file under your home stores it!
however I am afraid, thad your statement is not correct.
1. I do not have such a file. my config  file is in etc/openerp.cfg
2. on a different box I do have such a file, but it does not have any information of the default database

any ideas?

thanks
robert
.
<blockquote cite="mid:CACHFH7=hVSrFLnMeiff7sejwbfpxm==Zn2H0xnBLk2hUgHGf3w@mail.gmail.com" type="cite">

On Sun, Jul 26, 2015 at 1:13 PM, robert rottermann <robert@redcor.ch> wrote:
Hi there,

when you start odoo for the first time, you are asked for the database name, and 
a new database is created.
After having created this database odoo starts with these database as its 
default database.

where is the name of this default database stored ?


thanks for your insight

robert

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
The Splendid journey of 2 years in Numbers
---
Regard
Jay Vora,
Managing Director,
<img src="cid:part1.09000700.05080805@serpentcs.com" style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Serpent Consulting Services Pvt. Ltd.
Web : http://www.serpentcs.com
Mobile : 91 - 9879354457
Twitter: jaynvora
Skype: jaynvora
Blog : http://jayvora.blogspot.com

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe