跳至內容
選單
此問題已被標幟
1 回覆
1818 瀏覽次數

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?

頭像
捨棄
最佳答案

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

頭像
捨棄