[FIX] point_of_sale: prevent changing the customer after printing the receipt
This commit is contained in:
parent
b5104b1321
commit
3071af9b11
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue