Fix codacy
This commit is contained in:
parent
5c6ade4bd8
commit
3fd21d4273
@ -40,7 +40,7 @@ frappe.ui.form.on('Employee Onboarding', {
|
|||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if (r.message) {
|
if (r.message) {
|
||||||
frm.set_value('boarding_status', r.message)
|
frm.set_value('boarding_status', r.message);
|
||||||
}
|
}
|
||||||
refresh_field("boarding_status");
|
refresh_field("boarding_status");
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import frappe
|
import frappe
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.utils import flt
|
|
||||||
from erpnext.hr.utils import EmployeeBoardingController
|
from erpnext.hr.utils import EmployeeBoardingController
|
||||||
from frappe.model.mapper import get_mapped_doc
|
from frappe.model.mapper import get_mapped_doc
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ frappe.ui.form.on('Employee Separation', {
|
|||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if (r.message) {
|
if (r.message) {
|
||||||
frm.set_value('boarding_status', r.message)
|
frm.set_value('boarding_status', r.message);
|
||||||
}
|
}
|
||||||
refresh_field("boarding_status");
|
refresh_field("boarding_status");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user