fix: delivery trip form
This commit is contained in:
parent
f34faa9181
commit
f40a431d8c
@ -95,8 +95,6 @@ frappe.ui.form.on('Delivery Trip', {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
optimize_route: function (frm) {
|
optimize_route: function (frm) {
|
||||||
if (!frm.doc.driver_address) {
|
if (!frm.doc.driver_address) {
|
||||||
frappe.throw(__("Cannot Optimize Route as Driver Address is Missing."));
|
frappe.throw(__("Cannot Optimize Route as Driver Address is Missing."));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user