跳至内容
菜单
此问题已终结
1 回复
3670 查看

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
4月 23
2675
1
7月 25
466
1
2月 25
1235
0
9月 23
2177
2
6月 23
3976