Julien Alardot (jual) f7a18beaa8 [IMP] hr_expense: Improve edit rights for admins
Context:
During the refactor 68fbdc9640,
expense rights were improved but two cases were forgotten.

Before this commit:
1. sudo would not work as the rights were checking the groups
2. system admins were considered as being expense admins too, which may
   not be the case if the system admin user changes
   and the correct group `group_hr_expense_manager` is not given.
   System admins should always be able to edit expenses
   when it make sense.

After this commit:
Sudoed and group_system users are considered as expense admins

closes odoo/odoo#158583

Signed-off-by: Julien Van Roy (juvr) <juvr@odoo.com>
2024-03-25 10:00:46 +00:00
2024-03-22 09:44:37 +00:00
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%