Hi developers,
I am looking to implement POS printing through android mobile, which also works in offline mode.
Has anyone successfully done the same?
Also I tried using the print button on POS page on ERPNext App but it fails and get redirected to file:///android_asset/www/undefined on execution of the following line
window.open()
in the function
print_document: function (html) {
var w = window.open();
w.document.write(html);
w.document.close();
setTimeout(function () {
w.print();
w.close();
}, 1000)
},
https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/page/pos/pos.js
Is this a known issue? Are there any workarounds?