Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expense Reports: Create for third party #17977

Closed
dom-madrid opened this issue Jun 18, 2021 · 9 comments
Closed

Expense Reports: Create for third party #17977

dom-madrid opened this issue Jun 18, 2021 · 9 comments
Labels
Feature request This is a feature request

Comments

@dom-madrid
Copy link

Feature Request

Allow creation of expense reports for other employees (unless I missed it, expense reports, can only be created by looged user).

Use case

Allow creation of expense reports by an employee for another one.

Suggested implementation

Add option to module's permissions : Create/Modify Expense Reports for other user.

Suggested steps

When creating expense reports, choose own or alternate user.

@dom-madrid dom-madrid added the Feature request This is a feature request label Jun 18, 2021
@atm-maxime
Copy link
Member

Confirmed, whatever the permissions are, you can only create an expense report for yourself or one of your subordinates. Perhaps rather than create a new permission, we should also be able to create an expense report for one of the subordinates defined by the "expense report validator" field ?

@dom-madrid
Copy link
Author

Unless I misundertood you, creating expense reports for subordinates seems unlogical... In a basic structure, the PA creates the expense reports for the supervisor or other employees not the way around. Approval then goes back to the defined supervisor of the corresponding employee.
Permissions should probably be more refined (Create/edit,...) by user groups (departments), rather then just create/edit for everyone.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).

@github-actions github-actions bot added the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label Jun 20, 2022
@tsaquet
Copy link

tsaquet commented Sep 17, 2024

Hello ! We just hired someone to help us about different things, we wanted him to create expense reports for us and we found out here this is not possible. Is it possible to re-open this issue ?

@github-actions github-actions bot removed the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label Sep 17, 2024
@FlorentPoinsaut
Copy link
Contributor

@eldy could you please confirm that this Feature Request is never implemented on Dolibarr? If so, could we reopen this issue and I will try to take the time to implement it.

@eldy
Copy link
Member

eldy commented Sep 17, 2024

The use case described is:
Allow creation of expense reports by an employee for another one.

It seems this is already possible with current version, depending on permission.

Do you think to something else ?

@FlorentPoinsaut
Copy link
Contributor

You have the right use case.
It's possible only if the creator is higher in the hierarchy that is not the case for a management assistant.

@eldy
Copy link
Member

eldy commented Sep 29, 2024

You have the right use case.
It's possible only if the creator is higher in the hierarchy that is not the case for a management assistant.

So for a manager that need to generate expense report for users not under its hierarchy, tou can give hime the permission "Create expense reports for everybody"

@FlorentPoinsaut
Copy link
Contributor

So for a manager that need to generate expense report for users not under its hierarchy, tou can give hime the permission "Create expense reports for everybody"

Oh! It's an advanced right. So I set the MAIN_USE_ADVANCED_PERMS const to 1 and I found this permission.
Thank you Eldy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request This is a feature request
Projects
None yet
Development

No branches or pull requests

5 participants