Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 20
5149
1
oct 17
4048
1
jun 25
2613
2
mar 24
2616
1
jul 23
1798