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

Hi, 


Im trying to compare a substring with no success:

<div t-if="line.name in (u'Hotel Description%',u'FAQ')">

Basically im trying to find a matching string in  (u'Hotel Description%',u'FAQ'), tried to add % but it doesn't work, maybe somehow to use "like"

Thanks




Avatar
Discard
Best Answer

dear Hani,

Firstly, Can you show us the Error Message?

Try to make the comparison on python by write function?

Avatar
Discard