I want to hide some fields for group_stock_manager and make visible the field to group_stock_user and administrator.
If i use this code
<field name = "operation_ids" groups = "base.group_erp_manager">
only administrator view that field and not visible for both the stock manager and stock user .I am also changing the the code as
<field name ="operation_ids" groups ="!stock.group_stock_manager>
This can be visible the field only for stock user. Because,Administrator is one of the stock manager.
How I achieve when both the administrator and stock user seen that field except stock manager?