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.

1

How can I show a different table-field of a many2one field?

By
Laurens
on 6/18/13, 12:12 PM 819 views

Say for instance "incoterm". By default this field will display the values of the "name" field. Say for instance I want to show "code" instead of name. How do I do this?

1
Gabriel
On 7/17/13, 6:20 AM

If you want to display the code field value instead of name for every display of the Incoterm class you can add: _rec_name = 'code' before the _columns definition of the class Incoterm.

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: 6/18/13, 12:12 PM
Seen: 819 times
Last updated: 3/16/15, 8:10 AM