跳至内容
菜单
此问题已终结
2 回复
3204 查看

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!

形象
丢弃

Hello,

Are you using any third party application?

Thanks,
shivoham.odoo@gmail.com

编写者 最佳答案

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!



形象
丢弃
最佳答案

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

形象
丢弃
编写者

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!

编写者

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

相关帖文 回复 查看 活动
2
3月 24
2784
2
5月 23
197
1
4月 24
2925
1
11月 23
2287
2
10月 23
2769