This question has been flagged
3 Replies
12857 Views

How can I set up OpenERP 8 without demo data?

Avatar
Discard

From where did you get the openerp 8 file?

Best Answer

When creating your database, make sure the Load demonstration data option is not checked.

image description

Avatar
Discard
Author

I actually create the database on the psql command line with: "CREATE DATABASE openerp OWNER openerp;" Can it be done that way?

I don't know how to do it this way.

Author

No problem. It works great the way you showed.

Best Answer

How to load demo for myself modules only. For example: The demo data of product is 3c products, but my project is not for 3c, os i want to load ourself products to do demo

Avatar
Discard

I also got the same problem. But I solve it by changing the boolean type for demo in table ir_module_module(database using pgadmin). Hope this help.

Best Answer

To generate without demo data, you can use the option `--without-demo`

 

    --without-demo=WITHOUT_DEMO
                disable loading demo data for modules to be installed
                (comma-separated, use "all" for all modules). Requires
                -d and -i. Default is none

 

 

So just launch your server with

`openerp-server --without-demo=True`

 

Then when you create a database from postgres it will not fill it with demo data.

Avatar
Discard