[FIX] point_of_sale: bugfix

This commit is contained in:
Frederic van der Essen
2014-11-26 11:27:05 +01:00
committed by Frédéric van der Essen
parent 4af818c2e8
commit bdca47e381
@@ -292,7 +292,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
if (!order) {
return;
} else if ( !order.is_empty() ){
this.screen_selector.show_popup('confirm',{
this.pos_widget.screen_selector.show_popup('confirm',{
message: _t('Destroy Current Order ?'),
comment: _t('You will lose any data associated with the current order'),
confirm: function(){