[fix] upload attendacne with with no_socketio param

This commit is contained in:
Saurabh 2017-10-09 16:13:21 +05:30
parent fbbb8695f3
commit f347e23556

View File

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