Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jul 20
5149
1
Okt 17
4045
1
Jun 25
2612
2
Mar 24
2616
1
Jul 23
1794