Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
19926 Weergaven

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!



Avatar
Annuleer
Auteur

We are using Odoo 11, thanks.

Beste antwoord

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.

Avatar
Annuleer
Auteur

thanks! this solve my issue

Beste antwoord

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

Avatar
Annuleer
Auteur

thanks for link, I check immediately.

Gerelateerde posts Antwoorden Weergaven Activiteit
1
mrt. 25
2590
1
mrt. 15
4472
0
mrt. 15
3717
3
sep. 24
5443
0
feb. 22
11321