added add_fetch method
This commit is contained in:
parent
4db3b3cf1e
commit
5265aa43e4
@ -18,7 +18,8 @@ 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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user