We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are trying to setup India compliance in our newly installed Erpnext, running on docker.
While opening GST Setting menu, it ended up with 'invalid depends_on error'. Kindly see below image
Once alert box closes, below screen appears
We have attempted steps mentioned in issue #https://discuss.frappe.io/t/india-compliance-error-invalid-depends-on-expression/131061, i.e running bench build --app india_compliance. It got completed successfully; see below image
Still same error persist.
Error displayed in browser console (chrome ) is pasted below.
Error while attempted from edge is as follows
Erpnext 15.48.4 Frappe 15.52.0 India_Compliance 15.15.0
let out = india_compliance.is_api_enabled(doc); return out eval @ utils.js:1086 evaluate_depends_on_value @ layout.js:780 refresh_dependency @ layout.js:698 refresh @ layout.js:349 refresh_fields @ form.js:667 (anonymous) @ form.js:611 Promise.then (anonymous) @ dom.js:262 frappe.run_serially @ dom.js:260 render_form @ form.js:603 trigger_onload @ form.js:556 refresh @ form.js:433 render @ formview.js:107 (anonymous) @ formview.js:91 (anonymous) @ model.js:316 with_doc @ model.js:309 fetch_and_render @ formview.js:80 show_doc @ formview.js:75 make @ formview.js:18 show @ factory.js:25 render_page @ router.js:326 render @ router.js:305 route @ router.js:157 await in route push_state @ router.js:503 Promise.finally.frappe.route_flags @ router.js:379 set_route @ router.js:368 frappe.set_route @ router.js:579 (anonymous) @ shortcut_widget.js:61 dispatch @ jquery.js:5135 Rt.handle @ jquery.js:4939Understand this errorAI messages.js:26 Uncaught (in promise) Error: Invalid "depends_on" expression at frappe.throw (messages.js:26:8) at frappe.ui.form.Layout.evaluate_depends_on_value (layout.js:785:12) at frappe.ui.form.Layout.refresh_dependency (layout.js:698:33) at frappe.ui.form.Layout.refresh (layout.js:349:8) at frappe.ui.form.Form.refresh_fields (form.js:667:15) at form.js:611:16
The text was updated successfully, but these errors were encountered:
Connected to Huly®: IC-3113
Sorry, something went wrong.
It's very likely that you have not followed the installation steps correctly.
Did you follow the steps specified here for Docker? https://docs.indiacompliance.app/docs/getting-started/installation#docker
We can tell this as india_compliance is not defined error was raised meaning JS assets are not build correctly.
india_compliance is not defined
If you did follow the steps there, it's likely that your installation was not complete and would have raised the error.
Please uninstall the app and re-install it correctly. Take professional help where necessary / deploy this with Frappe Cloud.
No branches or pull requests
Information about bug
We are trying to setup India compliance in our newly installed Erpnext, running on docker.
While opening GST Setting menu, it ended up with 'invalid depends_on error'. Kindly see below image
Once alert box closes, below screen appears
We have attempted steps mentioned in issue #https://discuss.frappe.io/t/india-compliance-error-invalid-depends-on-expression/131061, i.e running bench build --app india_compliance. It got completed successfully; see below image
Still same error persist.
Error displayed in browser console (chrome ) is pasted below.
Error while attempted from edge is as follows
Version
Erpnext 15.48.4
Frappe 15.52.0
India_Compliance 15.15.0
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
The text was updated successfully, but these errors were encountered: