Odoo Help


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.


How to add a many2one relation to a custom model

Daniel Keller
on 3/24/15, 1:11 PM 581 views

I try to add to an order a new attribute that relates to a custom many2one relation. The goal is to choose for each order one specific contract condition. I would like to manage those contract conditions in the database, so that I can easily manage them.

I sort of got fare. I can edit those conditions, assign them and get them properly printed. However, on the order form they are displayed in a wired way. Instead of the descirption-text of the condition, I see sort of a description of the associated record. So my question is, how to show the proper description attribute.

Instead of a well readable text, I get displayed some bizarre techinical description of the record. Such as "x_sale.order.contract_condition,1".

I opened this issue also on stackoverflow with additional screenshots that better explain the issue described here:

Daniel Keller
On 3/26/15, 11:46 AM

The case was answered here:


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

1 follower(s)


Asked: 3/24/15, 1:11 PM
Seen: 581 times
Last updated: 3/26/15, 11:46 AM