Odoo Help

0

combine search terms

By
Martin Schubert
on 3/15/15, 6:35 AM 728 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.

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

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

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

Thanks.

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.

Register

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)

Stats

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