Daily updates from Odoo
Tuesday, August 18, 2020
2 changes · master
Resolved issues and error corrections
The planning view for selected tasks now correctly shows all chosen tasks, including those without scheduled planning entries. The forecast planning display also restores allocation percentages and progress bars, helping teams quickly assess workload and progress.
Fixed an issue that caused an error when managers used Send & Publish for open shifts. Open shifts are now correctly shared with eligible employees based on role settings, preventing disruption in scheduling workflows.
Original PR description
[FIX]planning: Traceback when sending an open shift
**Steps to reproduce:**
create an open shift > click on 'send & publish'
**Observed behavior:**
AssertionError: Invalid value res.company(1,) in domain term ('company_id', '='$
**Expected behavior:**
- No traceback
- The open shift is correctly sent to employees with
--> either 1) this role set by default 2) no roles set by default
--> or to all employees if no role is set on the shift