[FIX] point_of_sale: bad indentation
authorFrédéric van der Essen <fva@openerp.com>
Wed, 14 Nov 2012 15:55:40 +0000 (16:55 +0100)
committerFrédéric van der Essen <fva@openerp.com>
Wed, 14 Nov 2012 15:55:40 +0000 (16:55 +0100)
bzr revid: fva@openerp.com-20121114155540-dvkat6on42koims3

addons/point_of_sale/static/src/js/widgets.js

index 5669bfe..bc5f296 100644 (file)
@@ -202,9 +202,9 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
             this.currentOrderLines.bind('remove', this.renderElement, this);
         },
         update_numpad: function() {
-               this.selected_line = this.pos.get('selectedOrder').getSelectedLine();
-               if (this.numpadState)
-                       this.numpadState.reset();
+            this.selected_line = this.pos.get('selectedOrder').getSelectedLine();
+            if (this.numpadState)
+                this.numpadState.reset();
         },
         renderElement: function() {
             var self = this;