Skip to Content
Menu
This question has been flagged
2 Replies
3483 Views

hi all i need to display only transaction for the user how create it not all display for example:

user 1 and user 2 both are making transactions so i need user 1 only see his work not seeing user 2 transactions

Avatar
Discard
Best Answer

Hello, 

can you explain what is transaction ? 

For exemple if you want that user 1 only see is sale.order, you can add a `record.rules` on `sale.order` model with domain filter `['|',('user_id','=',user.id),('user_id','=',False)]`

Avatar
Discard
Author Best Answer

thanks for reply pandachi

i do as same you say but when i try on another user i got error

Access DeniedThe requested operation cannot be completed due to security restrictions. Please contact your system administrator.(Document type: Sales Order Line, Operation: create)

Avatar
Discard