f7a18beaa895a14a55595a22ad8209a63449bec7
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>
…
…
…
…
…
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%