From 2029ea9abf2864a0a8c3c8e18b62e2e543451be1 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 16 Apr 2015 17:55:35 +0530 Subject: [PATCH] toggle editable price list rate --- erpnext/selling/sales_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js index 117232dc2c..585872e9c7 100644 --- a/erpnext/selling/sales_common.js +++ b/erpnext/selling/sales_common.js @@ -17,7 +17,6 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({ onload: function() { this._super(); this.setup_queries(); - this.toggle_editable_price_list_rate(); }, onload_post_render: function() { @@ -104,6 +103,7 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({ var packing_list_exists = (this.frm.doc.packing_details || []).length; this.frm.toggle_display("packing_list", packing_list_exists ? true : false); } + this.toggle_editable_price_list_rate(); }, customer: function() {