跳至内容
菜单
此问题已终结
3 回复
19973 查看

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.

相关帖文 回复 查看 活动
1
3月 25
2631
1
3月 15
4498
0
3月 15
3746
3
9月 24
5468
0
2月 22
11349