2011-03-11 13:26:22 +00:00
|
|
|
/*---------------------------------------------------------
|
|
|
|
* OpenERP base_hello (Example module)
|
|
|
|
*---------------------------------------------------------*/
|
|
|
|
|
|
|
|
openerp.base_hello = function(openerp) {
|
|
|
|
|
|
|
|
openerp.base.SearchView = openerp.base.SearchView.extend({
|
|
|
|
init:function() {
|
|
|
|
this._super.apply(this,arguments);
|
2011-03-17 12:22:39 +00:00
|
|
|
this.on_search.add(function(){alert('hello')});
|
2011-03-11 13:26:22 +00:00
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
// here you may tweak globals object, if any, and play with on_* or do_* callbacks on them
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// vim:et fdc=0 fdl=0:
|