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

If you want to add a product to an invoice, e.g.: [A2323] iPad Retina Display (16 GB, White, 2.4 GHz)

But, you only know the internal number begins with "A23" and it´s a "Display".

How do you combine this 2 search fragments without using the "search more" overlay to write an invoice quickly?

Thank you for your help.

形象
丢弃
编写者

Thanks.

最佳答案

Hi,

you can overrride seach function, in it, split your string using a character (example: '+' : A23+Display) and create a domain using operator 'like' or 'ilike' with different values of split, call search function and return ids list.

Bye

形象
丢弃