Hello,
I’m trying to integrate the stock entry functionality into a web form, but I’m unable to activate the scanner through the barcode field. The error I’m encountering is:
Uncaught TypeError: frappe.ui.Scanner is not a constructor
at HTMLAnchorElement. (data.js:151:4)
at HTMLSpanElement.dispatch (jquery.js:5135:27)
at HTMLSpanElement. (jquery.js:4939:28)
From what I understand, it seems that frappe.ui.Scanner
is not available on the site. How can I enable it to scan directly within a web form? Should I create an HTML page with all the necessary fields and JavaScript?
Thank you for your help.