[FIX] hw_drivers: In IoT update route list after loading driver
For update correctly the route list of IoT after loading driver we need set 'http.addons_manifest' to a empty json Linked to 97c09e1c77284836c7c46b4e70d4f12eb48ce91b Reboot not needed after a update Linked to b77486753b7ae220a531ee09c529fb5eb944b0e2 Linked to 181a62cb57e143611ca1fbf0779cfd041d2a3cf8 closes odoo/odoo#46386 X-original-commit: 87b127efed97c1f6fad18d6ee6b5924a9b2c70f2 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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) &
|
||||
|
||||
Reference in New Issue
Block a user