[FIX] point_of_sale: unrecognized_items error handling
bzr revid: fva@openerp.com-20120905210751-7lbzkypzefy6zb3f
This commit is contained in:
parent
998134d464
commit
b2cb4b841d
|
@ -188,7 +188,7 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa
|
|||
return true;
|
||||
}
|
||||
}
|
||||
this.pos.proxy.scan_item_unrecognized(ean);
|
||||
this.pos.proxy.scan_item_error_unrecognized(ean);
|
||||
return false;
|
||||
},
|
||||
|
||||
|
@ -206,7 +206,7 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa
|
|||
return true;
|
||||
}
|
||||
}
|
||||
this.pos.proxy.scan_item_unrecognized(ean);
|
||||
this.pos.proxy.scan_item_error_unrecognized(ean);
|
||||
return false;
|
||||
//TODO start the transaction
|
||||
},
|
||||
|
|
|
@ -346,7 +346,7 @@
|
|||
<t t-name="ErrorPopupWidget">
|
||||
<div class="modal-dialog">
|
||||
<div class="popup popup-help">
|
||||
<p class="message"><t t-esc=" widget.message || 'Error.' " /></p>
|
||||
<p class="message"><t t-esc=" widget.message || 'Product not Found' " /></p>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
|
Loading…
Reference in New Issue