Skip to Content
Menu
This question has been flagged
1 Reply
9239 Views

I want to add condition in this line corresponding to the job_id

span t-if="record.job_id.raw_value" class="o_kanban_record_subtitle"><field name="job_id"/></span>.

How i will add
Avatar
Discard
Author Best Answer

I got the answer

answer is 

<span t-if="record.x_emp_status.raw_value=='Trainee'" class="o_kanban_record_subtitle_Trainee"><field name="x_emp_status"/></span>
Avatar
Discard
Related Posts Replies Views Activity
4
Nov 22
35806
1
Sep 22
4045
1
Sep 18
4010
2
Mar 18
7865
2
Mar 18
5278