how to display another field in manu2one instead of name. And Only effect to one model not for all models.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
Override name_get
Method change the selection value using context to shows different value in the view.
Refer the below link:- https://accounts.openerp.com/forum/Help-1/question/2589
thank you.
Hi,
Set _rec_name='your display field' in relational object.
Thanks
use _rec_name will effect all models related this model. what i need is that : only in my model show the rec_nane other model show name default
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
3
Apr 21
|
13689 | ||
Display values of dropdown in a many2one field
Diselesaikan
|
|
2
Feb 25
|
5883 | |
|
1
Des 24
|
1445 | ||
Set default value in object of many2one field
Diselesaikan
|
|
1
Nov 22
|
15944 | |
How to remove Create and Edit in many2one field.?
Diselesaikan
|
|
3
Agu 22
|
12975 |
By default, Odoo allows searching customers only by name and displays only the name in Many2One fields. This module enhances the Many2One search and display functionality by enabling users to search using multiple fields (Phone, Email, Mobile, etc.) and display multiple values directly inside the Partners Many2One selection.
https://apps.odoo.com/apps/modules/17.0/mh_partner_search_and_display_multiple_field