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

I want to create a new module called hw_test inside the IoT box, with some views and controllers. I am able to copy it inside the IoT box after making the filesystem writable. But I need to tell the odoo inside the box that loads also this addons at boot. 

I tested changing /etc/init.d/odoo to modify the parameter --load=LIST-OF-MODULES, adding there my hw_test addon. But it did not work. Can someone help me?

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

Hello,


If you modify the service you need to reload it and restart the odoo server.

Before changing the service try in command line:

./odoo-bin --load=web,hw_drivers,hw_posbox_homepage,hw_test --data-dir=/var/run/odoo

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