Odoo Help

0

changing demo data mode

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

2

Ray Carnes

--Ray Carnes--
16599
| 9 7 9
Atlanta, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

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. 

I am a skilled Communicator and I only take the serious things seriously!

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 ?

HAI LIANG WANG
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
0
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.

0
0

AJ Schrafel Paper Corp

--AJ Schrafel Paper Corp--
2090
| 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

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.

Register

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)

Stats

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