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
[Feature] Enable overriding Quick Entry in custom app #3519
Conversation
Pull Request SummaryImage or animted GIF Not AddedPlease add an image or animated GIF as proof that you have manually tested this contribution. Hint: use LiceCAP to capture animated GIFs. Large PatchThis is a very large pull request, unless there is a very good reason, please try and break it down to smaller changes. Read this strategy on how it can be done Result
This summary was automatically generated based on this script |
👍 Will you also be sending the Item Variant Selector PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just rename the controller to QuickEntryForm. otherwise looks okay!
var meta = frappe.get_meta(doctype); | ||
|
||
var doc = frappe.model.get_new_doc(doctype, null, null, true); | ||
frappe.ui.form.QuickEntryController = Class.extend({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just call it frappe.ui.form.QuickEntryForm
Its not a controller but a form
|
Enable overriding Quick Entry in the custom app.
Rewritten Quick entry function as Class.
Above changes are done for overriding quick entry in ERPNext for creation of
item variants from quick entry(considering item template already created).
If PR gets merged will share ERPNext PR for the creation of item variants from Quick Entry.