Monday, October 10, 2022
1 change · master
Resolved issues and error corrections
Creating a timesheet from an employee's grid view now correctly links the entry to that employee when no employee was set explicitly. This fixes a workflow issue that prevented users from adding timesheets directly after creating a new employee.
Original PR description
…work Before this commit, when create new employee and click to timesheet button that time adding a new timesheet from the grid view doesn't work. After this commit, In hr_timesheet we have use default_employee_id form context while creating timesheet record if employee_id is not present in vals, so when create new employee and adding a new timesheet from the grid view it is work. task-2973173 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr