Skip to content
New issue

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

[Accounts] Error on Generate Button in GSTR-1 Beta After Updating india_compliance #2741

Open
1 task done
hrishikesh8848 opened this issue Nov 18, 2024 — with Huly for GitHub · 1 comment
Open
1 task done

Comments

Copy link

hrishikesh8848 commented Nov 18, 2024

Information about bug

After updating the india_compliance app from version v15.13.2 (HEAD) to v15.13.5 (version-15), clicking the "Generate" button in the GSTR-1 Beta report throws an error, and the data is not fetched.

Steps to Reproduce:
Update the india_compliance app to version v15.13.5 (version-15).
Navigate to Accounting > Compliance > GSTR-1 Beta.
Click on the "Generate" button to fetch data.
Observe the error and the absence of fetched data.

Error Details:

Uncaught TypeError: frm.taxpayer_api_call is not a function

Version

ERPNext: v15.42.0 (version-15)

Frappe Framework: v15.47.2 (version-15)

Frappe HR: v15.26.0 (version-15)

India Compliance: v15.13.5 (version-15)

Relevant log output / Stack trace / Full Error Message.

gstr_1_beta__js:204 Uncaught TypeError: frm.taxpayer_api_call is not a function
    at HTMLButtonElement.eval (gstr_1_beta__js:204:17)
    at HTMLButtonElement.<anonymous> (page.js:305:31)
    at HTMLButtonElement.dispatch (jquery.js:5135:27)
    at Rt.handle (jquery.js:4939:28)
eval	@	gstr_1_beta__js:204
(anonymous)	@	page.js:305
dispatch	@	jquery.js:5135
Rt.handle	@	jquery.js:4939
Show less

Code of Conduct

  • I agree to follow this project's Code of Conduct

Huly®: IC-2867

@hrishikesh8848 hrishikesh8848 added the bug Something isn't working label Nov 18, 2024
@vorasmit
Copy link
Member

Looks like JS assets are not loaded correctly.
bench build should help. Alternatively update the app and try again.

@vorasmit vorasmit removed the bug Something isn't working label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants