跳至內容
選單
此問題已被標幟
2 回覆
1880 瀏覽次數

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.

頭像
捨棄