i want to print a barcode on pos receipt with order ID as the barcode number. Point of sale receipt was found on addons/point_of_sale/static/src/xml/pos.xml. How do i easily add a barcode at the end of the receipt?
You can use jquery.barcode.js file.
And in xml, you can do like this in bottom of receipt where you want to print barcode.
<table id="barcode_table" style="width:100%">
and from JS, you have to generate dynamic body part.
and following code will print barcode,
Happy to help you if you do not understand.
Acespritech Solutions Pvt. Ltd.