[FIX] web_calendar: CompoundDomainnow in data, not instance.web anymore

This commit is contained in:
Thibault Delavallée
2015-09-24 16:20:53 +02:00
parent 486aab5098
commit 30e2d45ba7
@@ -705,7 +705,7 @@ var CalendarView = View.extend({
if (self.useContacts && (!self.all_filters[-1] || !self.all_filters[-1].is_checked)) {
var partner_ids = $.map(self.all_filters, function(o) { if (o.is_checked) { return o.value; }});
if (!_.isEmpty(partner_ids)) {
event_domain = new instance.web.CompoundDomain(
event_domain = new data.CompoundDomain(
event_domain,
[[self.attendee_people, 'in', partner_ids]]
);