Skip to Content

Contributors

Re: [Odoo CE 17.0] Help needed with client search on budgets

> I apologize, it is now clear to me also that you need both the search from a

> custom field and the way the name is displayed, but the search is indeed

> prioritized.

anybody interested in only the searching part can use
https://apps.odoo.com/apps/modules/16.0/base_name_search_improved
without typing any code. The migration to v17 happened in
https://github.com/OCA/server-tools/pull/2831

Could be worthwhile to add a companion to this module allowing to configure the 
display name via UI too.


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

by Holger Brunn - 02:55 - 20 Nov 2024

Reference

  • [Odoo CE 17.0] Help needed with client search on budgets
    Hello everyone,
     
    I am writing this message because I need assistance with modifying how searching a client while doing a budget works.
     
    What I am trying to do is, instead of searching just by the name, I want it to work like the following: I made a custom field called "x_cliente_interno", which is a number to identify the client, and I would like to make the search work like how product search works: If you write either the product's ID or the product's name, it will show you both fields merged from the data you wrote. Something like this:
     
     
    And when you select it, it shows the data like this:
     
     
    To sum up, what I am trying to do is that when you search a client, the search shows you the field "x_cliente_interno" behind the client name, like this: "[x_cliente_interno] client name" and it should also stay like in the second image when selected.
     
    Thanks in advance for the help.

    by Alejandro Párraga Alcázar - 10:21 - 19 Nov 2024