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

Fix a permission error on SO and PO duplication #3

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

superColson
Copy link
Collaborator

Problème rencontré:

  • les utilisateurs ne possédant pas la permission "Administration/Paramètres" ne peuvent pas dupliquer un Bon de commande (app Ventes ou Achats)

Solution proposée:

  • La restriction au groupe "base.group_system" était faite directement au niveau de la déclaration du champ en Python, sans que les méthodes 'oncopy' ne soient correctement adaptées afin de continuer de fonctionner. => la restriction au groupe a été supprimé du code python et intégrée directement à la vue.

@halgandd halgandd merged commit 9da729f into 17.0 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants