Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
20098 มุมมอง

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!



อวตาร
ละทิ้ง
ผู้เขียน

We are using Odoo 11, thanks.

คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
ผู้เขียน

thanks! this solve my issue

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

thanks for link, I check immediately.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 25
2792
1
มี.ค. 15
4647
0
มี.ค. 15
3903
3
ก.ย. 24
5732
0
ก.พ. 22
11536