From bcf63a2a8fce62dc519a79c9a1f4dba8696f6e85 Mon Sep 17 00:00:00 2001 From: bhupen Date: Fri, 23 Dec 2016 18:00:18 +0530 Subject: [PATCH] unchecking pos will reflect automatically --- erpnext/accounts/doctype/sales_invoice/sales_invoice.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js index 9b4306e68d..3ed961ecc3 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.js +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.js @@ -263,6 +263,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte }); } } + else this.frm.trigger("refresh") }, amount: function(){