تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3697 أدوات العرض

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?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 23
2698
1
يوليو 25
483
Search a message تم الحل
1
فبراير 25
1244
0
سبتمبر 23
2187
2
يونيو 23
4004