From d9f4d174d10724b66477acdaacdfd9074d360514 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 6 Aug 2013 15:28:55 +0530 Subject: [PATCH] [minor] [fix] --- accounts/doctype/sales_invoice/sales_invoice.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/accounts/doctype/sales_invoice/sales_invoice.js b/accounts/doctype/sales_invoice/sales_invoice.js index 55460c4680..bc36f58a48 100644 --- a/accounts/doctype/sales_invoice/sales_invoice.js +++ b/accounts/doctype/sales_invoice/sales_invoice.js @@ -25,6 +25,9 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte this.frm.set_df_property("debit_to", "print_hide", 0); } } + // if(this.frm.doc.is_pos && this.frm.doc.docstatus===0) { + // cur_frm.cscript.toggle_pos(true); + // } }, refresh: function(doc, dt, dn) {