This question has been flagged
2 Replies
11062 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

thank you.

Best Answer

Hi,

Set _rec_name='your display field' in relational object.

Thanks

Avatar
Discard
Author

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