跳至内容
菜单
此问题已终结

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.

形象
丢弃
最佳答案

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"

形象
丢弃
相关帖文 回复 查看 活动
1
7月 20
4640
1
10月 17
3597
2
3月 24
1782
1
2月 24
1601
1
7月 23
1229