Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

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

by
Jose Luis Baños Consulting, S.L.U., Alejandro Párraga Alcázar
- 19/11/2024 10:19:50
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.

Follow-Ups