From 83c1c3a171c3846726e0006a113fefa255b8d6b9 Mon Sep 17 00:00:00 2001 From: ibi Date: Thu, 20 Apr 2017 17:30:41 +0000 Subject: [PATCH] fleet_management: replace references to fleet_management by hr in vehicle_log doctype --- erpnext/hr/doctype/vehicle_log/vehicle_log.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/hr/doctype/vehicle_log/vehicle_log.js b/erpnext/hr/doctype/vehicle_log/vehicle_log.js index 1ccf3479f2..56c30fffc4 100644 --- a/erpnext/hr/doctype/vehicle_log/vehicle_log.js +++ b/erpnext/hr/doctype/vehicle_log/vehicle_log.js @@ -6,7 +6,7 @@ frappe.ui.form.on("Vehicle Log", { vehicle_log=frappe.model.get_doc(cdt,cdn); if (vehicle_log.license_plate) { frappe.call({ - method: "erpnext.fleet_management.doctype.vehicle_log.vehicle_log.get_make_model", + method: "erpnext.hr.doctype.vehicle_log.vehicle_log.get_make_model", args: { license_plate: vehicle_log.license_plate }, @@ -19,7 +19,7 @@ frappe.ui.form.on("Vehicle Log", { }, expense_claim: function(frm){ frappe.call({ - method: "erpnext.fleet_management.doctype.vehicle_log.vehicle_log.make_expense_claim", + method: "erpnext.hr.doctype.vehicle_log.vehicle_log.make_expense_claim", args:{ docname: frm.doc.name },