Skip to Content
Menu
This question has been flagged
2 Replies
2449 Views

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
Discard

Hello,

Are you using any third party application?

Thanks,
shivoham.odoo@gmail.com

Author Best Answer

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
Discard
Best Answer

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
Discard
Author

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!

Author

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

Related Posts Replies Views Activity
2
Mar 24
2044
2
May 23
197
1
Apr 24
2136
1
Nov 23
1860
2
Oct 23
1794