Odoo Help


changing demo data mode

Torsten Francke
on 10/8/13, 11:23 AM 9,365 views

if i have a new instance with demo data, on every module installation it will import the demo data.

How can i turn demo data off? So that i can install new modules without demo data?

Where does OpenERP 7 saves this information that the demo mode is on?

Ray Carnes
On 10/8/13, 5:16 PM

For each module, the demo field (readonly, boolean) on ir.module.module determines if demo data will be installed when the module is installed.

This relies on the demo tag in the __openerp__.py file

image description

Readonly fields can be changed via code.

hi, Ray. I need to modify demo field via code. My database is not checked "Load Demo Data" field. How can I do it ?

on 1/12/14, 1:49 AM

How to turn it on? I can't find this file.

Publius Enigma
on 11/14/14, 7:57 AM

Is it possible to enable the demo data after creating the database?....(demo data is not selected during the time of db creation )

Umashankar Subramani
on 3/9/15, 1:38 AM
Nhomar Hernandez
On 10/9/15, 5:35 PM

Try the parameter --without-demo=True and no module will load the demo data. 

You can try also a dict to selectively load deo data (but results can be unexpected because the relation between demo on modules).

Try the parameter --without-demo={'module': True} and only the modules specified will load the demo data.

AJ Schrafel Paper Corp
On 10/8/13, 12:10 PM

You must create a new instance.

Demo data is a setting that is turned on/off at the time you create the instance. If you tell it to import demo data at creation you cannot later turn it off.

Yes i know that i have to select on creating, but somewhere openerp have to store the information and i want to change it (like a dirty hack)

initOS GmbH, Torsten Francke
on 10/8/13, 12:14 PM

I have created new database from the terminal , why this database take demo data i want to remove demo database but create db from the terminal any suggestion

Atul Kumar jain
on 4/10/14, 10:05 AM

About This Community

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


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 10/8/13, 11:23 AM
Seen: 9365 times
Last updated: 10/9/15, 5:35 PM