mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix: delivery trip form
This commit is contained in:
@@ -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."));
|
||||||
|
|||||||
Reference in New Issue
Block a user