Merge lp:~openerp-dev/openerp-web/trunk-job-positions into lp:openerp-web
Status: | Merged |
---|---|
Merged at revision: | 3934 |
Proposed branch: | lp:~openerp-dev/openerp-web/trunk-job-positions |
Merge into: | lp:openerp-web |
Diff against target: |
155 lines (+50/-19) 1 file modified
addons/web_kanban_gauge/static/src/js/kanban_gauge.js (+50/-19) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/trunk-job-positions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email:
|
Description of the change
[IMP] web_kanban_gauge: cleaned and improved parameters
- max_value: maximum value of the gauge [default: 100]
- max_field: get the max_value from the field that must be present in the view; takes over max_value
- gauge_value_field: if set, the value displayed below the gauge is taken from this field instead of the base field used for the gauge. This allows to display a number different from the gauge.
- force_set: is value is 0, display a text 'Click to set' [default: True]
- label: lable of the gauge, displayed below the gauge value
- title: title of the gauge, displayed on top of the gauge
- on_change: action to call when cliking and setting a value (previously names action_change)
- on_click_label: optional label of the input displayed when clicking
Coming with an update of jobs that triggered those various changes and cleaning in the gauge widget.