mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
Merge pull request #26554 from surajshetty3416/fix-customer-quick-entry
fix: Pass doc and other parameters to properly prefill information
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
frappe.provide('frappe.ui.form');
|
frappe.provide('frappe.ui.form');
|
||||||
|
|
||||||
frappe.ui.form.CustomerQuickEntryForm = class CustomerQuickEntryForm extends frappe.ui.form.QuickEntryForm {
|
frappe.ui.form.CustomerQuickEntryForm = class CustomerQuickEntryForm extends frappe.ui.form.QuickEntryForm {
|
||||||
constructor(doctype, after_insert) {
|
constructor(doctype, after_insert, init_callback, doc, force) {
|
||||||
super(doctype, after_insert);
|
super(doctype, after_insert, init_callback, doc, force);
|
||||||
this.skip_redirect_on_error = true;
|
this.skip_redirect_on_error = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user