コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
13508 ビュー

How can I set up OpenERP 8 without demo data?

アバター
破棄

From where did you get the openerp 8 file?

最善の回答

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

image description

アバター
破棄
著作者

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.

著作者

No problem. It works great the way you showed.

最善の回答

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

アバター
破棄

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.

最善の回答

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.

アバター
破棄