Daily updates from Odoo
Thursday, August 26, 2021
2 changes · master
Enhancements to existing features
Gantt views can now group records by fields that allow multiple linked people or items, such as tasks with several collaborators. This makes planning and workload views more flexible because the same task can appear under each relevant group, and new records keep the correct multi-person assignment.
Original PR description
PURPOSE Allow to group records by many2many fields. Use case: turn the user_id m2o field on project.task into a user_ids m2m field in order to assign multiple collaborators on a task SPECIFICATION Add many2many fields to the 'list of groupable fields': gantt TASK 2508608 COMMUNITY PR: odoo/odoo#74985
Manufacturing reports now provide clearer production cost trends over time and better account for by-products when calculating costs. Cost reports also handle exchange rates correctly in multi-company and multi-currency setups, helping teams make more reliable margin and production decisions.
Original PR description
This PR does multiple things: 1. Improve overall MRP reporting by: - adding a new MRP (SQL) report that focuses on production costs over time for a product - hides useless `worksheet_page` measure for "reporting > Work Orders" 2. Adds enterprise support for new by-product "cost share" for a MO (i.e. update existing cost reports to correctly take them into account), which includes: - Including by-product's cost share in Cost Analysis report (i.e. of a Done MO) - Updating corresponding BoM cost structure report 3. Also fixes an issue with Cost Analysis report not applying the currency rate when working in a multi-company/multi-currency situation. Task: 2440068 COM PR: odoo/odoo#74951 Upgrade PR: odoo/upgrade#2727