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

Odoo gauge widget "overloads" in Odoo 10. This was not the behavior in Odoo 8. That is, The progress of the gauge never went pass the limit set in max_field.

Picture v10:

[IMG]https://i.stack.imgur.com/jLguu.png[IMG]

Picture v8:

[IMG]https://i.stack.imgur.com/aqoiG.png[IMG]

Sample code:

<field name="lead_total" 
       widget="gauge" 
       style="width:160px;height:120px;cursor:pointer"
       options="{'max_field':'lead_objective'}">
    Lead
</field>

lead_total and lead_objective are just regular float fields. I've also tried with integers: same result.

Thanks in advance.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 19
3262
0
thg 12 18
4305
1
thg 1 25
1750
1
thg 7 24
2280
0
thg 11 23
1532