remove debugging shit
bzr revid: al@openerp.com-20110407234718-e2076zss3dp1z1m0
This commit is contained in:
parent
aeb1552061
commit
340e9f8b2c
|
@ -155,10 +155,8 @@ openerp.base.ListView = openerp.base.Controller.extend(
|
||||||
group_by_seq: groupbys
|
group_by_seq: groupbys
|
||||||
}, function (results) {
|
}, function (results) {
|
||||||
// TODO: handle non-empty results.group_by with read_group
|
// TODO: handle non-empty results.group_by with read_group
|
||||||
console.log("listview got search will do read slice",results.domain)
|
|
||||||
self.dataset.context = results.context;
|
self.dataset.context = results.context;
|
||||||
self.dataset.domain = results.domain;
|
self.dataset.domain = results.domain;
|
||||||
console.log("listview got search will do read slice",results.domain)
|
|
||||||
self.dataset.read_slice(self.dataset.fields, 0, self.limit, self.do_fill_table);
|
self.dataset.read_slice(self.dataset.fields, 0, self.limit, self.do_fill_table);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -183,7 +183,6 @@ openerp.base.SearchView = openerp.base.Controller.extend({
|
||||||
.compact()
|
.compact()
|
||||||
.value();
|
.value();
|
||||||
|
|
||||||
this.notification['default']("search", "calling on_search");
|
|
||||||
this.on_search(domains, contexts, groupbys);
|
this.on_search(domains, contexts, groupbys);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -203,7 +202,6 @@ openerp.base.SearchView = openerp.base.Controller.extend({
|
||||||
* @param {Array} groupbys ordered contexts which may or may not have group_by keys
|
* @param {Array} groupbys ordered contexts which may or may not have group_by keys
|
||||||
*/
|
*/
|
||||||
on_search: function (domains, contexts, groupbys) {
|
on_search: function (domains, contexts, groupbys) {
|
||||||
this.notification['default']("search", "this doesnt get called ");
|
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Triggered after a validation error in the SearchView fields.
|
* Triggered after a validation error in the SearchView fields.
|
||||||
|
|
Loading…
Reference in New Issue