Daily updates from Odoo
Navigate
Branch
Thursday, May 17, 2018
3 changes
New functionality added to Odoo
This change explores replacing the current long-polling update mechanism with a continuous browser-supported event stream. It could make real-time updates in chat, calendar, live chat, and notifications more efficient and resilient by avoiding repeated reconnects.
Original PR description
POC to replace the bus's longpolling by an [EventSource](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events) (server-sent event) stream: all events can be…
POC to replace the bus's longpolling by an [EventSource](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events) (server-sent event) stream: all events can be sent on the same connection and instead of closing the connection periodically the server simply sends a keepalive comment. ## Advantages - regular plain HTTP (same as longpolling) - reconnect handled automatically by browser, including last-id support - native support for various event types (currently unused, but channel names could be provided as event names/types) - not necessary to reconnect after every event (more resistant to stampeding & al) - developer tools support [in Chrome](https://twitter.com/chromedevtools/status/562324683194785792) ## Missing from POC - presence support (left out because I don't know how that's supposed to work) - polyfill for MSIE - runbot/nginx/… rules? - chatmanager maybe? ## Comparison to WebSocket - regular HTTP connections (_should_ work with any proxy and the like) - counts towards HTTP connections count (in HTTP/1.1, can use HTTP/2 multiplexing)
Enhancements to existing features
This update simplifies several inventory-related screens by removing unused work order messages, outdated stock assignment logic, and unnecessary purchasing shortcuts. It also makes stock transfer actions and location columns clearer so users see the right options at the right time.
Original PR description
Description of the issue/feature this PR addresses: task : https://www.odoo.com/web#id=59417&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 pad : https://pad.odoo.com/p/r.7f2161645cff59c31be22ec4ee56fc8d Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes outdated work order messages and obsolete delivery test logic that has not been used since earlier workflow changes. It helps keep stock, delivery, manufacturing, and quality areas simpler and easier to maintain without changing day-to-day business behavior.
Original PR description
task : https://www.odoo.com/web#id=59417&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 pad : https://pad.odoo.com/p/r.7f2161645cff59c31be22ec4ee56fc8d