0b4c5de6e5fe8f4d113ea3c82a3b737033c2fc38
Steps to reproduce ------------------ 1) Install project_timesheet_holidays and mrp. 2) Go to Manufacturing > Settings and enable Work Orders. 3) Log in as a user with access rights to Manufacturing but no access rights to HR. 4) Create a Manufacturing Order with a Work Order. 5) Go to Operations > Work Order and start the Work Order. 5) Click on "Done", you should get an AccessRight error. --- This commit fixes this error by calling sudo before creating the timesheet leaves for each employee. Follow-up of https://github.com/odoo/odoo/pull/94414 closes odoo/odoo#99174 X-original-commit: 13718d26bb98713f5a533c1a53c7fc2c2abfaac2 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com> Signed-off-by: Larcin Vincent (vila) <vila@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%