Merge pull request #26555 from surajshetty3416/fix-customer-quick-entry-version-13-hotfix

This commit is contained in:
Suraj Shetty 2021-07-20 11:13:21 +05:30 committed by GitHub
commit cbe5718db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {