Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3724 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

We have these options:



อวตาร
ละทิ้ง

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

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 23
2711
1
ก.ค. 25
526
Search a message แก้ไขแล้ว
1
ก.พ. 25
1248
0
ก.ย. 23
2194
2
มิ.ย. 23
4031