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

When I create a new odoo.sh project and move the branch to PRODUCTION, when I install modules there is no demo data - I'd like (for some projects) to have demo data.

Ảnh đại diện
Huỷ bỏ

I tried to update the DEMO field of ir_module_module in October 2017 and again today in March 2018 and got traceback errors during App install - the lunch module, then the mail module. Gave up.

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

Here is the answer given to me by Odoo:

Prepare the demo instance on dev branch and backup from the Build Screen of the build and restore that backup on the production. The Production container will run without-demo -all at the server config level and since we don't have control over that, this is the method that will enable you to use demo data.


 

Ảnh đại diện
Huỷ bỏ

Odoo.sh no longer lets you download a dump from dev.
https://pasteboard.co/TV7kx3eCBL1J.png

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

Go to settings scroll down and activate developer mode

Then Go back to settings again scroll down till the end there will be an option "load demo data" click there and your demo data will be uploaded


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Write demo=True in the odoo configuration file 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I would like this too.  Putting demo=True is not going to work on odoo.sh, because the db is already created and if you rebuild then it creates a new .conf file.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 20
2999
1
thg 7 25
1878
4
thg 4 25
12279
1
thg 2 25
3651
1
thg 1 25
1471