mirror of https://github.com/OCA/web.git
[FIX] web_pivot_computed_measure: Change custom_events addition
Previous this commit, the controller events are discarted. With this commit the existing events are respectedpull/1589/head
parent
add5045135
commit
e2255afe4e
|
@ -12,10 +12,10 @@ odoo.define('web_pivot_computed_measure.PivotController', function (require) {
|
|||
|
||||
|
||||
PivotController.include({
|
||||
custom_events: {
|
||||
'add_measure': '_onAddMeasure',
|
||||
'remove_measure': '_onRemoveMeasure',
|
||||
},
|
||||
custom_events: _.extend({}, PivotController.prototype.custom_events, {
|
||||
add_measure: '_onAddMeasure',
|
||||
remove_measure: '_onRemoveMeasure',
|
||||
}),
|
||||
|
||||
computed_measures_open: false,
|
||||
|
||||
|
|
Loading…
Reference in New Issue