I solved this bug with this solution :
File : web_calendar/static/src/js/calendar.js Line : 398
Change the get_range_domain function by that :
get_range_domain: function() { var format = openerp.web.date_to_str, domain = this.last_search[0].slice(0); domain.push('|'); domain.push(([this.date_start, '>=', format(this.range_start.clone().addDays(-6))], [this.date_start, '<=', format(this.range_stop.clone().addDays(6))])); domain.push(([this.date_stop, '<=', format(this.range_stop.clone())], [this.date_stop, '>=', format(this.range_start.clone())])); return domain; }
I solved this bug with this solution :
File : web_calendar/ static/ src/js/ calendar. js
Line : 398
Change the get_range_domain function by that :
get_range_domain: function() { web.date_ to_str, search[ 0].slice( 0);
domain. push('| ');
domain. push(([ this.date_ start, '>=', format( this.range_ start.clone( ).addDays( -6))],
[this.date_ start, '<=', format( this.range_ stop.clone( ).addDays( 6))]));
domain. push(([ this.date_ stop, '<=', format( this.range_ stop.clone( ))],
[this. date_stop, '>=', format( this.range_ start.clone( ))]));
var format = openerp.
domain = this.last_
return domain;
}