Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1328 Widoki

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

Awatar
Odrzuć
Autor

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




Autor

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

any other idea ?

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
758
5
maj 25
18198
0
kwi 25
1073
1
kwi 25
1558
0
mar 25
1430