Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3680 Visualizzazioni

Hi, 

Is there a simple way in Odoo to look for products based on a regular expression function of the internal reference ?


Say the internal reference is AAA000022 and I have a value of AAA22 that I want to match.  We could use a regular expression that filters first 3 characters, then ignores 4 and then matches 2 again.  This way the 4 0's will be ignored and we'll get a match.


How is such a thing possible ?  Can we say something like search products where regex(internal reference, "regular expression") = AAA22 ?


tx 

Seppe

Avatar
Abbandona
Risposta migliore

We have these options:



Avatar
Abbandona

_ searches a single character. % searches one or more characters

Do you have a link where we can check the full documentation?

Post correlati Risposte Visualizzazioni Attività
1
apr 23
2677
1
lug 25
471
1
feb 25
1235
0
set 23
2178
2
giu 23
3978