Odoo Help

1

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

By
Laurens
on 6/18/13, 12:12 PM 925 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.

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