This question has been flagged

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:
http://stackoverflow.com/questions/29238777/how-to-add-a-many2one-relation-to-a-custom-model



Avatar
Discard
Author Best Answer

The case was answered here:

http://stackoverflow.com/questions/29238777/how-to-add-a-many2one-relation-to-a-custom-model

Avatar
Discard