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
5387
1
Oct 17
4378
1
Jun 25
2995
2
Mar 24
2906
1
Jul 23
2102