[FIX] point_of_sale: fix crash when going back from payment screen
authorFrederic van der Essen <fva@openerp.com / fvdessen+o@gmail.com>
Thu, 2 Oct 2014 08:58:39 +0000 (10:58 +0200)
committerFrédéric van der Essen <fvdessen@gmail.com>
Tue, 25 Nov 2014 18:16:28 +0000 (19:16 +0100)
addons/point_of_sale/static/src/js/screens.js

index e58170a..b9b03f1 100644 (file)
@@ -1259,7 +1259,7 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa
             this.pos_widget.screen_selector.set_current_screen('clientlist');
         },
         click_back: function(){
-            this.pos_widget.screen_selector.set_current_screen('product-list');
+            this.pos_widget.screen_selector.set_current_screen('products');
         },
         renderElement: function() {
             var self = this;