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

Hi All,

I have created 3 Window Actions (Forms) for three type of picking operation, 1-Incoming, 2-Outgoing, 3-Internal and all 3 forms are same except domain value and context value. So, how to restrict user from create the document whose type is Incoming and Outgoing not for internal type.

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Add this to the action of Incoming and Outgoing Action.

<  field name="context">{'create': False, 'delete': False}
Regards
الصورة الرمزية
إهمال
أفضل إجابة

Hi, Haris ,

       You have already 3 actions .Internal type is separate menu action  so u can hide this menu action to user based on record rules or adding some groups access to  internal  type  related  menu.

الصورة الرمزية
إهمال