Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1805 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć