Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3955 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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)]`

Аватар
Відмінити
Автор Найкраща відповідь

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)

Аватар
Відмінити