-
-
Notifications
You must be signed in to change notification settings - Fork 768
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
[16.0][FIX] account_asset_management: Allow to unlink w/o billing permission #1905
[16.0][FIX] account_asset_management: Allow to unlink w/o billing permission #1905
Conversation
Some users may be allowed to unlink invoices without billing access, but with current code, they are not able, as the asset line check is done without sudo, and other users except billing or higher ones aren't allowed to access to that model. TT49673
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
/ocabot merge patch |
This PR has the |
1 similar comment
This PR has the |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at a26d2fa. Thanks a lot for contributing to OCA. ❤️ |
Forward-port of #1904
Some users may be allowed to unlink invoices without billing access, but with current code, they are not able, as the asset line check is done without sudo, and other users except billing or higher ones aren't allowed to access to that model.
@Tecnativa TT49673