Community mailing list archives

community@mail.odoo.com

Re: Partner search in account invoice

by
Serpent Consulting Services Pvt. Ltd., Jay Vora
- 01/10/2016 23:47:44
Franco,

As advised by Eric, you may follow base/res/res_partner.py name_search() and add your field for evaluation.

Even better, you may follow the example of base/res/res_users.py and see how the term is being searched on login and name fields.

All the best.

On Sat, Jan 9, 2016 at 10:27 PM, Franco Ordoñez <francordonez@gmail.com> wrote:
Hi Community

How can we modifi partner search in customer invoices  account_invoice, now is only searching for name, but we need to search for a new field.

Again, thanks for your help

--
- Franco Ordonez

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--

The Splendid journey of 4 years in Numbers
---
Regards,
----------------------------------------------------------------------------------------------------------------------------
Jay Vora
Managing Director


 
Direct: +91-9879354457
Office: +91-9033472982
Skype: jaynvora
Twitter : jaynvora
   
-------------------------------------------------------------------------------------------------
Visit our website : http://www.serpentcs.com
Please consider the environment before printing this email