Daily updates from Odoo
Wednesday, January 30, 2019
2 changes · master
Resolved issues and error corrections
The manufacturing raw materials view now shows quantities in a more consistent way, especially when products use different units of measure. This reduces confusion for users comparing reserved and completed quantities during production tracking.
Original PR description
master bug - https://www.odoo.com/web#id=1923213&action=327&model=project.task&view_type=form&menu_id=4720 pad - https://pad.odoo.com/p/r.48300fd8d361e132a05c0ac34031ea52
This fix keeps Odoo server diagnostic signal handling responsive even when the main process is waiting on slow or stuck operations. It helps administrators capture troubleshooting information for stalled processes more reliably, improving supportability without changing normal business workflows.
Original PR description
Since Python only allows signal handlers on the main thread and has a big lock, some events (e.g. IO, accept(2), ...) can defer the execution of signal handlers. If the event in question gets stuck, it makes e.g. dumpstack (`kill -3`) unresponsive which is inconvenient to diagnose stuck processes. By moving the potentially blocking work to a sub-thread and idling the main thread, the event handlers should always run. Task 1913129