Tuesday, 12 March 2019

Show Progress bar In Kanban View (Odoo 11)

Show Progress bar In Kanban View (Odoo 11)


 

 There is a widget Gauge to show the progress bars in kanban views. For that you have to create 2 fields to store rate and maximum rate.


For example:

create two fields progress_rate and max_rate

progress_rate = fields.Integer(string='Sample Rate')
max_rate = fields.Integer(string='Maximum Rate')

 
 Set widget="gauge" and  max_field.
<field name="progress_rate" widget="gauge" options="{'max_field': 'max_rate'}">
</field>

No comments:

Post a Comment