Odoo Help

Welcome!

This community 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.

0

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

By
codefans
on 4/25/14, 6:57 AM 1,832 views

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

0

Prakash

--Prakash--
3173
| 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--
2674
| 5 3 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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