Hey guys, im trying to make a filter that looks like this
'search_default_user_ids': [context.get('uid')]}
field name="user_ids" string="Employee"
                                                                 
But now i want to make that the employees cant delete it, is there a way to make it invisible or non editable i dont find any info here TY 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
            
                2
                
                    Replies
                
            
        
        
            
                2204
                
                    Views
                
            
        
    Hello. Maybe try this instead of search_default.
{'group_by': 'user_ids'}
Hey Marcos , You can use groups tag on this filter it will show only to that specific group to which you want show use like this(groups = stock.your_group_name). Thanks hope it will help you!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|  | 2 Aug 25  | 2799 | ||
|  | 1 Oct 25  | 626 | ||
|  | 3 Oct 25  | 607 | ||
|  | 2 Oct 25  | 2832 | ||
|  | 1 Sep 25  | 2836 | 
