I tried <field name=progress_rate" widget="progressbar"/> in kanban view.. It just showing the value instead of progressbar . Why widget="progressbar" not supporting in kanban view..Its supporting in form view and tree view. Is there any way to show the progressbar in kanban view?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
1
Reply
20806
Views
Hi Ameera,
Try widget gauge
For example Create two integer fields
progress_rate = fields.Integer()
maximum_rate = fields.Integer()
Set widget="gauge" and max_field is other field
<field name="invoiced_target" widget="gauge" style="width:120px;height:90px;cursor:pointer;"
options="{'max_field': 'maximum_rate'}">
Progress
</field>
Example Code
<kanban>
<field name="progress_rate"/>
<field name="maximum_rate"/>
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_global_click">
<field name="progress_rate" widget="gauge" style="width:120px;height:90px;cursor:pointer;"
options="{'max_field': 'maximum_rate'}">
Progress
</field>
</div>
</t>
</templates>
</kanban>
Thanks Shameem
Good Shameem.. You have an up vote
can you tell us on wich ODOO version this widget is usable? thx
It is working in odoo 8 and odoo 9
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
https://www.iwesabe.com/blog/how-to-show-progressbar-in-kanban-view-odoo
https://www.youtube.com/watch?v=FnEgFnUjl_4
+1 Shameem