Odoo Help

0

Display another field in many2one instead of name only effect to one model

By
codefans
on 4/25/14, 6:57 AM 2,090 views

how to display another field in manu2one instead of name. And Only effect to one model not for all models.

0

Prakash

--Prakash--
3238
| 5 4 7
Bikaner, India
--Prakash--

OpenERP Devloper at SunARC Technology

Prakash
On 4/25/14, 7:39 AM

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.

codefans
on 4/28/14, 2:02 AM
0

Jagdish Panchal

--Jagdish Panchal--
2694
| 5 4 6
Gandhinagar, India
--Jagdish Panchal--

OpenERP Developer

Jagdish Panchal
On 4/25/14, 7:06 AM

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

codefans
on 4/25/14, 7:09 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 4/25/14, 6:57 AM
Seen: 2090 times
Last updated: 3/16/15, 8:10 AM