Merge pull request #11132 from saurabh6790/upload_attendance_tool

[fix] upload attendance with with no_socketio param
This commit is contained in:
Saurabh 2017-10-10 11:15:27 +05:30 committed by GitHub
commit 5ba4c4c49c

View File

@ -39,6 +39,7 @@ erpnext.hr.AttendanceControlPanel = frappe.ui.form.Controller.extend({
args: {
method: 'erpnext.hr.doctype.upload_attendance.upload_attendance.upload'
},
no_socketio: true,
sample_url: "e.g. http://example.com/somefile.csv",
callback: function(attachment, r) {
var $log_wrapper = $(cur_frm.fields_dict.import_log.wrapper).empty();