Bhumi Thakkar (Open ERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-bug-914195-bth into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-914195-bth/+merge/88204
Hello,
I have modified code as required. By default logged user's details are
displayed in calendar view. For that domain value is set. I have reset the
domain value.
Thanks,
Bhumi Thakkar
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-914195-bth/+merge/88204
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-bug-914195-bth.
=== modified file 'addons/web_calendar/static/src/js/calendar.js'
--- addons/web_calendar/static/src/js/calendar.js 2012-01-10 16:54:51 +0000
+++ addons/web_calendar/static/src/js/calendar.js 2012-01-11 12:59:04 +0000
@@ -381,6 +381,7 @@
return data;
},
do_search: function(domain, context, group_by) {
+ arguments[0] = [];
this.last_search = arguments;
this.do_ranged_search();
},
@@ -399,6 +400,7 @@
});
},
get_range_domain: function() {
+ this.dataset.domain=[];
var format = openerp.web.date_to_str,
domain = this.last_search[0].slice(0);
domain.unshift([this.date_start, '>=', format(this.range_start.clone().addDays(-6))]);
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp