I have this action. This action let all the users to see all sale orders
Sales Orders ir.actions.act_window sale.order form tree,form,calendar,graph { 'search_default_my_sale_orders_filter': 1}/
[('state', 'not in', ('draft', 'sent', 'cancel'))]
Now, I want to add some users to a group called group_restrictions, in order to show the users of this groups the sale orders with user_id = capital. I tried something like this but it's not working, it's still showing me all users. Could you help me?
Sales Orders Inherit ir.actions.act_window sale.order [('state', 'not in', ('draft', 'sent', 'capital')),('user_id','=','mendoza')]
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
971
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Apr 15
|
5847 | ||
|
0
Dec 24
|
6 | ||
|
0
Nov 24
|
6 | ||
|
0
Nov 24
|
50 | ||
|
0
Nov 24
|
259 |