commit | 49c9746816cd1a3d324a0cee4c10f931489e9c0b | [log] [tgz] |
---|---|---|
author | saurabh <saurabh6790@gmail.com> | Fri Feb 19 11:09:31 2016 +0530 |
committer | saurabh <saurabh6790@gmail.com> | Fri Feb 19 11:46:28 2016 +0530 |
tree | 4302847921d0a5dce6699f84c155eac816c13dfe | |
parent | c2dae359664d5b22f73ca900c6f1264840727481 [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{