diff --git a/addons/hw_drivers/controllers/driver.py b/addons/hw_drivers/controllers/driver.py index e29f1c884b6..bde5f5b1756 100755 --- a/addons/hw_drivers/controllers/driver.py +++ b/addons/hw_drivers/controllers/driver.py @@ -272,6 +272,7 @@ class Manager(Thread): if spec: module = util.module_from_spec(spec) spec.loader.exec_module(module) + http.addons_manifest = {} http.root = http.Root() def send_alldevices(self): diff --git a/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh b/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh index e8b3db069b8..93f1a003f18 100755 --- a/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh +++ b/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh @@ -25,4 +25,4 @@ done sudo mount -o remount,ro / sudo mount -o remount,rw /root_bypass_ramdisks/etc/cups -(sleep 5 && sudo reboot) & +(sleep 5 && sudo service odoo restart) &