Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 20
5105
1
lokak. 17
3984
1
kesäk. 25
2529
2
maalisk. 24
2568
1
heinäk. 23
1756