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.
Look how to add gauge widget in Odoo: https://learnopenerp.blogspot.com/2022/05/use-and-add-progressbar-percentpie-gauge-widget-in-odoo.html