Skip to content

[15.0][FIX] fieldservice_route: Allow FSM own users to see all routes and assigned orders #1358

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

Open
wants to merge 1 commit into
base: 15.0
Choose a base branch
from

Conversation

ppyczko
Copy link

@ppyczko ppyczko commented Mar 27, 2025

For a user with the fieldservice.group_fsm_user_own group, if an FSM order was assigned to them but the route linked to that order was assigned to a different person, an access error occurred. This PR ensures that users can access their assigned FSM orders regardless of the person assigned to the route.

cc https://github.com/APSL 6225

@miquelalzanillas @lbarry-apsl @mpascuall @peluko00 @javierobcn @BernatObrador please review

@OCA-git-bot
Copy link
Contributor

Hi @max3903,
some modules you are maintaining are being modified, check this out!

@ppyczko ppyczko marked this pull request as ready for review March 27, 2025 07:39
@ppyczko ppyczko changed the title [FIX] fieldservice_route: Allow FSM own users to see all routes and related orders [FIX] fieldservice_route: Allow FSM own users to see all routes and assigned orders Mar 27, 2025
@ppyczko ppyczko changed the title [FIX] fieldservice_route: Allow FSM own users to see all routes and assigned orders [15.0][FIX] fieldservice_route: Allow FSM own users to see all routes and assigned orders Mar 27, 2025
Copy link
Contributor

@peluko00 peluko00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

@BernatObrador BernatObrador left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@mpascuall mpascuall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants