Skip to Content
मेन्यू
This question has been flagged
1 Reply
1327 Views

Hello is possible to create a condition how check if title of invoice contain value

t t-if="object.invoice_origin like 'héb' OR 'maint' OR 'dom"
my text
t

i need to check if title contain some part of word
'hébergement'
'maintenance'
'domaine'

but seems doesn't works, what i do wrong ?

regards

Avatar
Discard
Author

Thanks for this reply juste to be sure m'y title Can be more longuer your code code check if word IS in ? Regards




Author

hello thanks for you reply i test it but doesn't works 

any other idea ?

Best Answer

Hi,

Please try the below condition

<t t-if="'hébergement' in object.invoice_origin or 'maintenance' in object.invoice_origin or 'domaine' in object.invoice_origin">



Hope it helps

Avatar
Discard
Related Posts Replies Views Activity
1
जुल॰ 25
751
5
मई 25
18182
0
अप्रैल 25
1068
1
अप्रैल 25
1557
0
मार्च 25
1429