fleet_management: replace references to fleet_management by hr in vehicle_log doctype
This commit is contained in:
parent
c3d642e5d1
commit
83c1c3a171
@ -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
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user