diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-09-16 14:40:18 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-09-17 09:30:45 +0000 |
| commit | e6454bd104135d4851e932e500fe3fc344ff26ea (patch) | |
| tree | c82c39d2c63935f36181f542ba8e0ba561eb02bd /addons/mail/static/src/components/thread_view | |
| parent | 641ae07dbce1d0515fb0710a3363db47b27548e7 (diff) | |
[FIX] hr_timesheet: default employee not set on timesheet
Issue
- Install 'hr_timesheet' module
- Go to any employee and click on stat button 'Timesheets'
- Create timesheet
- Remove employee from filter then add it back
No timesheets displayed for current employee.
Cause
There is no "employee_id" in list view. However, 'timesheet_view_tree_user'
view (who inherit from concerned list view) does have an "employee_id" field
but the mode is "primary" and therefore not available for the main view.
Solution
Add "employee_id" in main list view and alter inherited view to
update attributes of "employee_id" field.
opw-2338055
closes odoo/odoo#57928
X-original-commit: cae352a90b2d8a562fbf57391ce88fde4488e8cf
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_view')
0 files changed, 0 insertions, 0 deletions
