Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: [Odoo CE 17.0] Help needed with client search on budgets
Re: [Odoo CE 17.0] Help needed with client search on budgets
Re: [Odoo CE 17.0] Help needed with client search on budgets
by
MoaHub, Graeme Gellatly
If you are in search filter then it is basic. Partner filter has below for example. If you do not then you will need to modify args passed to either search or _search method. Do not mess with display_name, it is a different purpose.
<field name="name"
filter_domain="['|', '|', '|', '|', ('display_name', 'ilike', self), ('ref', 'ilike', self), ('email', 'ilike', self), ('vat', 'ilike', self), ('company_registry', 'ilike', self)]"/>
On Tue, Nov 19, 2024 at 10:22 PM Redes Sociales JLBBERP <notifications@odoo-community.org> wrote:
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._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Reference
-
[Odoo CE 17.0] Help needed with client search on budgets
byJose Luis Baños Consulting, S.L.U., Alejandro Párraga Alcázar-
Re: [Odoo CE 17.0] Help needed with client search on budgets
byJose Luis Baños Consulting, S.L.U., Alejandro Párraga Alcázar -
Re: [Odoo CE 17.0] Help needed with client search on budgets
byHolger Brunn -
Re: [Odoo CE 17.0] Help needed with client search on budgets
byFrancesco Ballerini -
Re: [Odoo CE 17.0] Help needed with client search on budgets
byClosingAp Open Source Integrators Europe, LDA, Daniel Reis -
Re: [Odoo CE 17.0] Help needed with client search on budgets
byFrancesco Ballerini -
Re: [Odoo CE 17.0] Help needed with client search on budgets
byMoaHub, Graeme Gellatly -
Re: [Odoo CE 17.0] Help needed with client search on budgets
byIntero Technologies GmbH, C. Zoellner -
Re: [Odoo CE 17.0] Help needed with client search on budgets
byJose Luis Baños Consulting, S.L.U., Alejandro Párraga Alcázar -
Re: [Odoo CE 17.0] Help needed with client search on budgets
byFrancesco Ballerini
-