تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1434 أدوات العرض

I want to insert a test in a qweb report for sales orders which displays a certain text when the responsible for the associated project contains a certain name.


So far I have used this without any luck:

<t t-if="'John Doe' in [o.ks_generated_project_id.user_id]">


    <span>


    Text to show


    </span>


</t>


The same test does work when I use a field from the sales order itself (e.g. [o.name]) instead of the linked project.


How can I achieve my test to a linked object? 


Remark: in our installation we have added a flow to link sales orders with projects - possibly this is the root cause?



الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 25
1298
0
يناير 25
3409
1
أغسطس 23
14722
change password تم الحل
1
أغسطس 23
13325
1
يوليو 23
10360