added add_fetch method

This commit is contained in:
saurabh 2016-02-17 19:10:26 +05:30
parent 5d45176a1d
commit c14f2c29b9

View File

@ -19,6 +19,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
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{