[FIX] point_of_sale: activate on screen keyboard for user search

This commit is contained in:
Frederic van der Essen 2014-09-08 17:03:21 +02:00
parent bde444c09d
commit a11b530b9b
1 changed files with 5 additions and 0 deletions

View File

@ -590,6 +590,11 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa
});
var search_timeout = null;
if(this.pos.config.iface_vkeyboard && this.pos_widget.onscreen_keyboard){
this.pos_widget.onscreen_keyboard.connect(this.$('.searchbox input'));
}
this.$('.searchbox input').on('keyup',function(event){
clearTimeout(search_timeout);