Show error in custom script when I reload the page @sales order
SyntaxError: Unexpected token )
at Class.setup (http://[DOMAIN]/assets/js/form.min.js:2624:18)
at _f.Frm.setup (http://[DOMAIN]/assets/js/form.min.js:172:22)
at _f.Frm.refresh (http://[DOMAIN]/assets/js/form.min.js:439:9)
at Class.load (http://[DOMAIN]/assets/js/form.min.js:87:33)
at http://[DOMAIN]/assets/js/form.min.js:82:7
at Object.callback (http://[DOMAIN]/assets/js/desk.min.js:6635:6)
at Object.callback [as success_callback] (http://[DOMAIN]/assets/js/desk.min.js:1228:16)
at _ (http://[DOMAIN]/assets/js/desk.min.js:1252:34)
at Object. (http://[DOMAIN]/assets/js/desk.min.js:1349:5)
at i (http://[DOMAIN]/assets/frappe/js/lib/jquery/jquery.min.js:2:27151)
When you are Sales Order form, try to run code below in console and let me know if there’s any error.
Please make sure you have correct double quote (“”), sometime it has wrong double by copy & paste code from the forum.
customscript doctype Sales Order will get error in sales order page.
SyntaxError: Unexpected token )
at Class.setup (http://[DOMAIN]/assets/js/form.min.js:2624:18)
at _f.Frm.setup (http://[DOMAIN]/assets/js/form.min.js:172:22)
at _f.Frm.refresh (http://[DOMAIN]/assets/js/form.min.js:439:9)
at Class.load (http://[DOMAIN]/assets/js/form.min.js:87:33)
at http://[DOMAIN]/assets/js/form.min.js:82:7
at Object.callback (http://[DOMAIN]/assets/js/desk.min.js:6635:6)
at Object.callback [as success_callback] (http://[DOMAIN]/assets/js/desk.min.js:1228:16)
at _ (http://[DOMAIN]/assets/js/desk.min.js:1252:34)
at Object. (http://[DOMAIN]/assets/js/desk.min.js:1349:5)
at i (http://[DOMAIN]/assets/frappe/js/lib/jquery/jquery.min.js:2:27151)
customscript doctype Sales Order Item will get “disprice field” blank in sales order item page.
It works.
How can I show the currency synbol when I print it out? I select currency in custom field, but it show the disprice amount w/o currency symbol.
Thanks.
Edit: Currency symbol apper in sales order item but disapper when print.
2nd edit: Problem solve after add “currency” in custom field → options