988d2288305f77a1f205ad5aefc2e654d4c2569b
Description of the issue: When a user without rights on time off writes to a previously created hr.leave an access error is raised because of reading employee_ids. This happens becausethe field is restricted to the group hr_holidays.group_hr_holidays_user and it's used in _check_date. To prevent this all_employee_ids should be used because of the compute_sudo set. Current behavior before PR: Access error on save Desired behavior after PR is merged: No access error on save closes odoo/odoo#149308 X-original-commit: 10d3d0b43fbb336d823cec9e68b68651298678cd Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%