Help

0

How can I add a new module hw_xxx inside the IoT box?

Avatar
Reinaldo J.

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?

Avatar
Discard
1 Answer
0
Best Answer

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

Avatar
Discard