تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3226 أدوات العرض

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
يوليو 20
5092
1
أكتوبر 17
3976
1
يونيو 25
2520
2
مارس 24
2550
1
يوليو 23
1746