Skip to Content
Menu
This question has been flagged

Can we make restriction to the option "Reset to draft" and "Cancel" in the Sales Order and Invoice in the related forms.

Can it be restricted to a User Groups or by User level?

Please help me with the solution or the work around.

Avatar
Discard
Best Answer

You can show button to particular User group.

You should just add the attribute 'groups' to the xml view. For example, to show the button only for admins:

groups="base.group_erp_manager"

Avatar
Discard
Related Posts Replies Views Activity
1
Jul 20
4631
1
Oct 17
3589
2
Mar 24
1767
1
Feb 24
1563
1
Jul 23
1215