Skip to Content
Menu
This question has been flagged
2 Replies
2471 Zobrazenia

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
Zrušiť

Hello,

Are you using any third party application?

Thanks,
shivoham.odoo@gmail.com

Autor 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
Zrušiť
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
Zrušiť
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 😃

Related Posts Replies Zobrazenia Aktivita
2
mar 24
2067
2
máj 23
197
1
apr 24
2151
1
nov 23
1871
2
okt 23
1822