Get logined user id in Qweb template . For crm lead activity filter condition of odoo11.
Hi all, how can we get the logined user id in qweb template , it is not a report template.
It's the mail.activity_items template. i need to put a condition on 'o_thread_message_tools' based on the logined user id.
My intention is to get the logined user id in qweb template.
Sample code i tried is,
<t t-if="activity.create_uid == user.id">