mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] inherit _update_buttons_counter
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user