Daily updates from Odoo
Tuesday, August 30, 2016
2 changes · master
Resolved issues and error corrections
This fix prevents manufacturing bills of materials from including the same product as both the finished item and one of its components. This avoids recursive manufacturing setups that could cause errors or system loops when planning or processing production.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web?#id=27243&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.075104a6de8edc6559708f57c72356ad Current behavior before PR: - Recursion occurs when the lines of BoMs have the same product/product template as the finished product of the BoM. Desired behavior after PR is merged: - Added constraints on lines of BoMs to prevent recursion. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Twitter stream handling is moved into a dedicated service so it runs reliably on multi-process servers instead of being stopped or duplicated by web workers. This improves the stability of Twitter channel integrations and helps ensure incoming Twitter activity is processed consistently.
Original PR description
task: https://www.odoo.com/web#id=19698&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
pad: https://pad.odoo.com/p/r.e36d6d5ad4f7deb3df3206ba5175f1ed
twitter_stream module not work as expected in multi-processed server.
Problem: Twitter stream [service](https://github.com/odoo/enterprise/compare/master...odoo-dev:ent-twitter-service-hook-rga?diff=unified&expand=1&name=ent-twitter-service-hook-rga#diff-134791f308bea11c7586248ced57aa0dR34)(for create web hook) should be start with main process if it start by HTTPWorker it will kill on worker time out and each worker start it's own service.
Solution: 1) Make stand alone module for twitter service and load it as server_wide_modules
2) Handle twitter service process as we did for long-polling server
Note: Used ZMQ for message passing between service and Odoo