From 568054ab9665353110ed7039866c6e75f8e0e6da Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 21 Jan 2016 18:50:28 +0530 Subject: [PATCH] [fix] Make Delivery Note from Sales Invoice --- erpnext/accounts/doctype/sales_invoice/sales_invoice.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js index 1725b7ebd4..26a9fa61c9 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js @@ -70,7 +70,8 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte }); if(!from_delivery_note && !is_delivered_by_supplier) { - cur_frm.add_custom_button(__('Delivery'), cur_frm.cscript['Delivery Note'], __("Make")); + cur_frm.add_custom_button(__('Delivery'), cur_frm.cscript['Make Delivery Note'], + __("Make")); } }