Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
20032 Переглядів

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
2714
1
бер. 15
4603
0
бер. 15
3814
3
вер. 24
5622
0
лют. 22
11449