Skip to Content
Menú
This question has been flagged
1 Respondre
1808 Vistes

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
Descartar
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
Descartar