Merge lp:~openerp-dev/openerp-web/trunk-job-positions into lp:openerp-web

Proposed by Turkesh Patel (openERP)
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
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+185713@code.launchpad.net

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.

To post a comment you must log in.
3842. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3843. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3844. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3845. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3846. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3847. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3848. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3849. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3850. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3851. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3852. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3853. By Turkesh Patel (openERP)

[MRG] merge with lp:openerp-web

3854. By Thibault Delavallée (OpenERP)

[IMP] web_kanban_gauge: udpated parameters
- new parameters: input_value_field is now called gauge_value_field, this is the field
displayed under the gauge
- new parameter: force_set: whether to force setting a value when the value is nul
- new parameter: on_click_label: label under the input when editing the gauge value
- action_change renamed on_click_action

3855. By Thibault Delavallée (OpenERP)

[IMP] web_kanban_gauge: action_change, renamed to on_click_action, now renamed to on_change, because because.

3856. By Thibault Delavallée (OpenERP)

[IMP] web_kanban_gauge: fade update when changing the value

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.