[FIX] point_of_sale: unrecognized_items error handling

bzr revid: fva@openerp.com-20120905210751-7lbzkypzefy6zb3f
This commit is contained in:
Frédéric van der Essen 2012-09-05 23:07:51 +02:00
parent 998134d464
commit b2cb4b841d
2 changed files with 3 additions and 3 deletions

View File

@ -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
},

View File

@ -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>