[FIX] point_of_sale: clicking on the connection status should force sync

bzr revid: fva@openerp.com-20130327104551-484p011pjqrmbtm8
This commit is contained in:
Frédéric van der Essen 2013-03-27 11:45:51 +01:00
parent 1f2518a64f
commit 5472b929e4
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
renderElement: function() {
var self = this;
this._super();
this.$('.oe_pos_synch-notification-button').click(function(){
this.$el.click(function(){
self.pos.flush();
});
},