Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3989 Lượt xem

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



Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

The case was answered here:

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 25
193
0
thg 10 20
3483
1
thg 8 17
4004
1
thg 3 15
6433
0
thg 3 15
3299