Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
2869 Vistas

Hello! 😃
In the CRM module when you search for a Customer it appears as: Name + VAT

CRM module

Sales module
That's spectacularly useful when you have many customers with the same name!!! and maybe the engineers forgot to enable it in the other modules.

That is why I wanted to ask if any of you know if it is possible to have the same behavior in the other modules. In Odoo online (Saas) and how to do it.

Thank you so much!

Avatar
Descartar

Hello,

Are you using any third party application?

Thanks,
shivoham.odoo@gmail.com

Autor Mejor respuesta

Thank you very much, but unfortunately that does not achieve the goal.

No third party apps used because its odoo online version 16.2

By default, the context is TRUE, but when positioning to search in the field, only the customer's name is shown and not the VAT.
Only after selecting the client does the VAT number appear under the client's name, and what will make life easier for millions of Odoo users is that when searching, the VAT number appears, just when you write the first letters of the customer name and next to the name the VAT number is displayed before pressing the enter key or clicking.
Any suggestions to achieve this?
Thank you!



Avatar
Descartar
Mejor respuesta

Hi,

If you need to show vat number along with the partner name in any many2one field of res.partner, you just need to pass show_vat as True in the context.

Sample:

context="{'res_partner_search_mode': 'customer', 'show_address': 1, 'show_vat': True}"

Thanks

Avatar
Descartar
Autor

Thank you very much, but unfortunately that does not achieve the goal.

By default, the context is TRUE, but when positioning to search in the field, only the customer's name is shown and not the VAT.
Only after selecting the client does the VAT number appear under the client's name, and what will make life easier for millions of Odoo users is that when searching, the VAT number appears, just when you write the first letters of the customer name and next to the name the VAT number is displayed before pressing the enter key or clicking.
Any suggestions to achieve this?
Thank you!

Autor

No third party apps used because its odoo online version 16.2 😃

Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 24
2452
2
may 23
197
1
abr 24
2576
1
nov 23
2117
2
oct 23
2369