From 4765d75b839e4f7444c6274a46bec6c951f2d5b9 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 19 Aug 2015 12:50:44 +0530 Subject: [PATCH] [minor] fix typo --- erpnext/accounts/doctype/sales_invoice/sales_invoice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js index dd42f4502b..734684f69d 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js @@ -83,7 +83,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte cur_frm.meta.default_print_format = cur_frm.pos_print_format; } } else { - if(cur_frm.meta.cur_frm.meta._default_print_format) { + if(cur_frm.meta._default_print_format) { cur_frm.meta.default_print_format = cur_frm.meta._default_print_format; cur_frm.meta._default_print_format = null; }