Fix codacy

This commit is contained in:
Shreya 2018-06-20 16:09:16 +05:30
parent 5c6ade4bd8
commit 3fd21d4273
5 changed files with 8 additions and 9 deletions

View File

@ -40,7 +40,7 @@ frappe.ui.form.on('Employee Onboarding', {
},
callback: function(r) {
if (r.message) {
frm.set_value('boarding_status', r.message)
frm.set_value('boarding_status', r.message);
}
refresh_field("boarding_status");
}

View File

@ -5,7 +5,6 @@
from __future__ import unicode_literals
import frappe
from frappe import _
from frappe.utils import flt
from erpnext.hr.utils import EmployeeBoardingController
from frappe.model.mapper import get_mapped_doc

View File

@ -31,7 +31,7 @@ frappe.ui.form.on('Employee Separation', {
},
callback: function(r) {
if (r.message) {
frm.set_value('boarding_status', r.message)
frm.set_value('boarding_status', r.message);
}
refresh_field("boarding_status");
}