fix: Pass doc and other parameters to properly prefill information - while creating customer from form dashboard
This commit is contained in:
parent
92273cade0
commit
85c8daae9c
@ -1,9 +1,9 @@
|
||||
frappe.provide('frappe.ui.form');
|
||||
|
||||
frappe.ui.form.CustomerQuickEntryForm = frappe.ui.form.QuickEntryForm.extend({
|
||||
init: function(doctype, after_insert) {
|
||||
init: function(doctype, after_insert, init_callback, doc, force) {
|
||||
this._super(doctype, after_insert, init_callback, doc, force);
|
||||
this.skip_redirect_on_error = true;
|
||||
this._super(doctype, after_insert);
|
||||
},
|
||||
|
||||
render_dialog: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user