Odoo Help


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.


changing demo data mode

Torsten Francke
on 10/8/13, 11:23 AM 6,752 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

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

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

--AJ Schrafel Paper Corp--
| 4 5 8
Bronx, United States
--AJ Schrafel Paper Corp--

Exploring OpenERP for business

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

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

0 follower(s)


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