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

fix: Use extend_cscript function to properly extend class methods to cscript #25803

Merged
merged 2 commits into from
May 23, 2021

Conversation

surajshetty3416
Copy link
Member

Dependent on frappe/frappe#13300

Case:
Class instance to be extended
Screenshot 2021-05-23 at 1 17 09 PM

with $.extend: amount and other inherited functions are not extended
Screenshot 2021-05-23 at 1 20 36 PM

with extend_cscript: amount and other inherited functions are extended properly
Screenshot 2021-05-23 at 1 19 43 PM

Note: this is a quick fix to make breaking functionalities work after the new build system change

@surajshetty3416 surajshetty3416 merged commit 540c827 into frappe:develop May 23, 2021
@surajshetty3416 surajshetty3416 deleted the fix-extend-cscript branch May 23, 2021 08:09
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
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

Successfully merging this pull request may close these issues.

None yet

1 participant