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
4633
1
oct 17
3595
2
mar 24
1773
1
feb 24
1570
1
jul 23
1215