Daily updates from Odoo
Monday, June 11, 2018
3 changes · master
Enhancements to existing features
Odoo can now notify its parent process once the server has finished loading, making automation and startup scripts easier to coordinate. This is limited to Unix systems using the threaded server, so the business impact is mainly improved operational reliability for deployments.
Original PR description
Only on unices and only in the threaded server (for now?) Looking at signal, the cross-platform default-ignored signals seem to be SIGURG, SIGCONT, SIGCHLD and SIGWINCH. SIGWINCH and SIGURG have very specific roles, and SIGCHLD seems unadapted: > Child stopped or terminated SIGCONT seems mostly innocuous (SIGCONT on a running process is a no-op) and its normal behaviour can even be useful: while more advanced language can sigwait/sigtimedwait, a shell can only trap and handle signals asynchronously, here a shell script could just SIGSTOP itself and know that it'll resume when the Odoo subprocess is ready for interaction.
Resolved issues and error corrections
Barcode screens now handle missing page controls more gracefully by showing a warning instead of causing an error. This makes barcode use in inventory and workorder flows more reliable for employees using tablet-style screens.
This update removes outdated workarounds used during app installation and removal, replacing them with the intended underlying behavior. It helps keep upgrades to the next Odoo version cleaner and reduces the risk of maintenance issues in affected website, sales, signup, and mailing areas.
Original PR description
Replace hacks introduced in V11 by their proper solution, some of these hacks have already been fixed by bbfb098a5459fdfe7c9fac9e86407c22457fd505 but had not been removed. In preparation for V12.