[fix] upload attendacne with with no_socketio param
This commit is contained in:
parent
fbbb8695f3
commit
f347e23556
@ -39,6 +39,7 @@ erpnext.hr.AttendanceControlPanel = frappe.ui.form.Controller.extend({
|
|||||||
args: {
|
args: {
|
||||||
method: 'erpnext.hr.doctype.upload_attendance.upload_attendance.upload'
|
method: 'erpnext.hr.doctype.upload_attendance.upload_attendance.upload'
|
||||||
},
|
},
|
||||||
|
no_socketio: true,
|
||||||
sample_url: "e.g. http://example.com/somefile.csv",
|
sample_url: "e.g. http://example.com/somefile.csv",
|
||||||
callback: function(attachment, r) {
|
callback: function(attachment, r) {
|
||||||
var $log_wrapper = $(cur_frm.fields_dict.import_log.wrapper).empty();
|
var $log_wrapper = $(cur_frm.fields_dict.import_log.wrapper).empty();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user