Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3221 Prikazi

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
Opusti

Hello,

Are you using any third party application?

Thanks,
shivoham.odoo@gmail.com

Avtor 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
Opusti
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
Opusti
Avtor

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!

Avtor

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

Related Posts Odgovori Prikazi Aktivnost
2
mar. 24
2807
2
maj 23
197
1
apr. 24
2939
1
nov. 23
2309
2
okt. 23
2784