Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3668 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

We have these options:



Ảnh đại diện
Huỷ bỏ

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

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 23
2672
1
thg 7 25
465
Search a message Đã xử lý
1
thg 2 25
1233
0
thg 9 23
2177
2
thg 6 23
3976