fix: Pass doc and other parameters to properly prefill information
- while creating customer from form dashboard
This commit is contained in:
parent
80e269887d
commit
c077314568
@ -1,8 +1,8 @@
|
||||
frappe.provide('frappe.ui.form');
|
||||
|
||||
frappe.ui.form.CustomerQuickEntryForm = class CustomerQuickEntryForm extends frappe.ui.form.QuickEntryForm {
|
||||
constructor(doctype, after_insert) {
|
||||
super(doctype, after_insert);
|
||||
constructor(doctype, after_insert, init_callback, doc, force) {
|
||||
super(doctype, after_insert, init_callback, doc, force);
|
||||
this.skip_redirect_on_error = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user