Community mailing list archives

RE: how does odoo remeber its database

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="" 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?

<blockquote cite="" type="cite">

On Sun, Jul 26, 2015 at 1:13 PM, robert rottermann <> 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


Post to:

The Splendid journey of 2 years in Numbers
Jay Vora,
Managing Director,
<img src="" 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 :
Mobile : 91 - 9879354457
Twitter: jaynvora
Skype: jaynvora
Blog :

Post to:

Post to: