Monday, October 10, 2022
2 changes · 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
The website page properties form now requires a visibility setting, preventing pages from being saved with a blank visibility value. This keeps the dropdown behavior consistent and reduces confusion when managing website page access.
Original PR description
In the page properties form, the visibility field could be set to an empty value. This commit makes the visibility field required. It also replaces its empty string key by "public", so that it works properly in the dropdown UI component. task-2687506