[FIX] inherit _update_buttons_counter

This commit is contained in:
Pablo
2019-02-26 20:06:39 +01:00
parent 60ee04967a
commit 356f2e0cac

View File

@@ -42,10 +42,10 @@ var PMSHotelCalendarController = PMSCalendarController.include({
//--------------------------------------------------------------------------
// Handlers
//--------------------------------------------------------------------------
_onUpdateButtonsCounter: function (ev) {
_update_buttons_counter: function (ev) {
this._super(ev);
var self = this;
var domain_reservations = [['to_assign', '=', true], ['to_read', '=', true]];
var domain_reservations = [['to_read', '=', true]];
var domain_issues = [['to_read', '=', true]];
$.when(
this.model.search_count(domain_reservations),
@@ -84,7 +84,6 @@ var PMSHotelCalendarController = PMSCalendarController.include({
}
}
}
this._super(notifications);
},