Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
13533 Lượt xem

How can I set up OpenERP 8 without demo data?

Ảnh đại diện
Huỷ bỏ

From where did you get the openerp 8 file?

Câu trả lời hay nhất

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

image description

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

No problem. It works great the way you showed.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ