We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bdb7e7 commit 864a7fdCopy full SHA for 864a7fd
1 file changed
erpnext/stock/doctype/delivery_trip/delivery_trip.js
@@ -41,6 +41,8 @@ frappe.ui.form.on("Delivery Trip", {
41
},
42
43
refresh: function (frm) {
44
+ frm.ignore_doctypes_on_cancel_all = ["Delivery Note"];
45
+
46
if (frm.doc.docstatus == 1 && frm.doc.delivery_stops.length > 0) {
47
frm.add_custom_button(__("Notify Customers via Email"), function () {
48
frm.trigger("notify_customers");
0 commit comments