[FIX] point_of_sale: avoid auto reprinting receipt when switching between orders

Conflicts:
	addons/point_of_sale/static/src/js/screens.js
This commit is contained in:
Frederic van der Essen
2014-11-25 19:14:39 +01:00
committed by Frédéric van der Essen
parent f662d1058b
commit b487e8da61
@@ -955,7 +955,7 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa
this.refresh();
if (!this.pos.get('selectedOrder')._printed) {
if (!this.pos.get_order()._printed) {
this.print();
}
@@ -989,7 +989,7 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa
}
},
print: function() {
this.pos.get('selectedOrder')._printed = true;
this.pos.get_order()._printed = true;
window.print();
},
finish_order: function() {