Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4021 มุมมอง

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



อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

The case was answered here:

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Selection field or many2one field ? แก้ไขแล้ว
2
ก.ย. 25
233
0
ต.ค. 20
3510
1
ส.ค. 17
4028
1
มี.ค. 15
6459
0
มี.ค. 15
3330