Daily updates from Odoo
Thursday, January 23, 2020
4 changes
Enhancements to existing features
This update strengthens automated coverage for CRM lead conversion, merging, and lost-lead workflows. It helps reduce the risk of regressions as future CRM improvements are made, making sales pipeline handling more dependable.
The project overview now gives managers clearer profitability and task status information, including late tasks, overtime tasks, and other project revenues. It also makes sales order details collapsible by default and fixes multi-company employee filtering so reports show the right people data.
Original PR description
1) Add the following stat buttons on the right of the Tasks one: - (fa-tasks) Late Tasks: tasks whose deadline is exceeded (do not include tasks that don't have a deadline set) - (fa-tasks) Tasks in…
1) Add the following stat buttons on the right of the Tasks one: - (fa-tasks) Late Tasks: tasks whose deadline is exceeded (do not include tasks that don't have a deadline set) - (fa-tasks) Tasks in Overtime: tasks whose Effective hours are strictly greater than their Planned hours (if the latter is stricly greater than 0) 2) Remove the sheet view (should be like financial reports) 3) Add an 'Other Revenues' metric under the Profitability section below 'To Invoice' - It should represent all the revenues other than from timesheets linked to the analytic account of the project. - Only visible if greater than 0 4) Allow to fold/unfold the details by SO. It should be folded by default. Note: Although qweb views have a generic mechanism to manage fold and unfold, this standard behavior is not used here. It would imply refactoring the entire code preparing the template data (700+ lines of code which are hard to read). The quick and dirty way is used for now. (I wish good luck for the dev if it's one day necessary.) Task 2119567 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing work orders are now planned to avoid unnecessary overlaps between jobs, reducing inefficient task switching on the shop floor. The update also improves schedule conflict detection, required date handling, and work order view usability.
Original PR description
[IMP] mrp: change workorder plan behavior Before the auto-planning of workorder autorize overlaps between then. E. g. if a workorder begin in now + 30 min with a duration of 60 minutes and we try to…
[IMP] mrp: change workorder plan behavior Before the auto-planning of workorder autorize overlaps between then. E. g. if a workorder begin in now + 30 min with a duration of 60 minutes and we try to plan a new workorder now, this one will be plan now until now + 120 min (30 min + 30 min). In our case we don't want that this behavior by default, (because in real case, it is not efficient to work on job A during 30 min, after change to pass to a other job B, and rework on A after the job B). But in a other hand, we need to accept overlaps with no-working hours intervals. Then, rewritte the _plan_workorders method to take these in account. [IMP] mrp: improve small details of WO views/model - Now, the fields date_planned_start and date_planned_finished is required in views, because it was strongly related to the leave date_to, date_from which are required. - Change the name get in case of single WO in MO and replace the dot by a dash. - Improve the WO views to be more responsible when it is open from the gantt view. - Change name of a Operation in the demo data [FIX] mrp: truncate millisecond to check overlaps In some flows, a planned_datetime_start/finished will contains milliseconds. In these cases, we can detect overlaps/conflicts between workorders but these conflicts can't be see in the web interface (because datetime is round when it is display). Then, change the conflicts computation to remove milliseconds in search of conflicts. task-2169447
This update improves how employee appraisals and field service worksheet templates behave when several companies use the same system. It helps ensure users see company-appropriate appraisal information and lets businesses assign worksheet templates to specific companies, reducing mistakes in multi-company operations.