Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
13517 Widoki

How can I set up OpenERP 8 without demo data?

Awatar
Odrzuć

From where did you get the openerp 8 file?

Najlepsza odpowiedź

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

image description

Awatar
Odrzuć
Autor

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.

Autor

No problem. It works great the way you showed.

Najlepsza odpowiedź

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

Awatar
Odrzuć

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.

Najlepsza odpowiedź

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.

Awatar
Odrzuć