Odoo Help


combine search terms

Martin Schubert
on 3/15/15, 6:35 AM 866 views

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.


Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--

| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 3/15/15, 6:50 AM


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.


Martin Schubert
On 4/17/15, 4:09 AM


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/15/15, 6:35 AM
Seen: 866 times
Last updated: 11/15/15, 7:16 AM