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

Hi all,

we are trying to use only command line (odoo-bin) to create a new database with demo data loaded.

If we create a new one from database manager we found some demostration data instead if we create a new db from command line no demo data are filled. Can you help us?

-c odoo.conf -dev=all --stop-after-init

And what about use a template db directly from command line? We are trying with the parameter --db-template but probably works only with web UI database manager.

Thanks in advance!



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

We are using Odoo 11, thanks.

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

Hello torbe,

You need to check the configuration file you are passing in -c argument.

it must have the attribute [ without_demo = False ] to be able to create db with demonstration data.

I hope it may help you.

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

thanks! this solve my issue

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

Hello torbe

Please Refer This Below Link.

https://www.odoo.com/forum/help-1/question/how-can-i-take-back-of-database-by-terminal-101505

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

thanks for link, I check immediately.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 25
2818
1
thg 3 15
4658
0
thg 3 15
3921
3
thg 9 24
5750
0
thg 2 22
11555