Guys, need help, in header i would like to add attribute 'clickable' but only if admin.
Is it possible to add 'clickable'?
... attrs="{'clickable':[('user_id','=','Administrator')]}" ...
or how should it look like ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Guys, need help, in header i would like to add attribute 'clickable' but only if admin.
Is it possible to add 'clickable'?
... attrs="{'clickable':[('user_id','=','Administrator')]}" ...
or how should it look like ?
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
The admin user is always user_id 0 so set it as attrs="{'clickable':[('user_id','=','0')]}" ...
What I also think that could work: ('user_id.login','=','youruserlogin')
Thank you Yanthe, i'll try tomorrow ;)
Unfortunately "user_id" is not in domain :(