[FIX] hw_*: Restart IoT windows service at the end of install
Currently restarts of the odoo server do not happen at the end of the installation of all components. The devices are therefore not detected. With this commit we restart the server when all the components have been installed closes odoo/odoo#162362 Signed-off-by: Yaroslav Soroko (yaso) <yaso@odoo.com>
This commit is contained in:
@@ -307,7 +307,6 @@ Section $(TITLE_IOT) IOT
|
||||
nsExec::ExecToStack '"$INSTDIR\python\python.exe" "$INSTDIR\server\odoo-bin" genproxytoken'
|
||||
pop $0
|
||||
pop $ProxyTokenPwd
|
||||
Call RestartOdooService
|
||||
SectionEnd
|
||||
|
||||
|
||||
@@ -363,6 +362,7 @@ Section $(TITLE_Ghostscript) SectionGhostscript
|
||||
ExecWait '"$TEMP\$ghostscript_exe_filename" \
|
||||
/S \
|
||||
/D=$INSTDIR\Ghostscript'
|
||||
Call RestartOdooService
|
||||
SectionEnd
|
||||
|
||||
Section -Post
|
||||
|
||||
Reference in New Issue
Block a user