[FIX] point_of_sale: prevent changing the customer after printing the receipt

This commit is contained in:
Frederic van der Essen 2014-08-19 17:55:46 +02:00
parent b5104b1321
commit 3071af9b11
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
var ss = self.pos.pos_widget.screen_selector;
if(ss.get_current_screen() === 'clientlist'){
ss.back();
}else{
}else if (ss.get_current_screen() !== 'receipt'){
ss.set_current_screen('clientlist');
}
}else{