commit | ca3e7152d6bf838b72106be64a4e56275eca1bb6 | [log] [tgz] |
---|---|---|
author | saurabh <saurabh6790@gmail.com> | Fri Feb 19 11:09:31 2016 +0530 |
committer | saurabh <saurabh6790@gmail.com> | Tue Feb 23 02:17:03 2016 +0530 |
tree | a2668fc662ca55b1ccf72e845fd64ba4f75b078d | |
parent | 8e49951821b07971216cf43dc95ad04a9fac640b [diff] |
removed add fetch method
diff --git a/erpnext/buying/doctype/purchase_common/purchase_common.js b/erpnext/buying/doctype/purchase_common/purchase_common.js index 4c239b3..c856e28 100644 --- a/erpnext/buying/doctype/purchase_common/purchase_common.js +++ b/erpnext/buying/doctype/purchase_common/purchase_common.js
@@ -18,8 +18,7 @@ setup_queries: function() { var me = this; - - this.frm.add_fetch('supplier', 'language', 'print_language'); + if(this.frm.fields_dict.buying_price_list) { this.frm.set_query("buying_price_list", function() { return{