-
-
Notifications
You must be signed in to change notification settings - Fork 801
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][MIG] purchase_security #1902
Conversation
Create "Purchase (own orders)" group. Restrict access to POs to those in the group. Add tests. TT26488
Currently translated at 100.0% (1 of 1 strings) Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_security Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_security/it/
When a Purchase User (own orders) create or edit an order, if changes Representative user to another and save it, an access error is raised. With this change, those users cannot change the default Representative, then orders are initially assigned to them, and no errors were fired.
With this improvement, order lines are also restricted for Own Reponsible Users, and this addon becomes more compatible with e.g. purchase_order_line_menu.
1823a7c
to
1735eca
Compare
1735eca
to
daaef5b
Compare
@HviorForgeFlow @pilarvargas-tecnativa could you review? Thanks!! |
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.
thanks :)
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 3283342. Thanks a lot for contributing to OCA. ❤️ |
/ocabot migration purchase_security |
Includes still unmerged #1898
Made changes due to groups_id previous usage in views