[usability] item price moved to price list

This commit is contained in:
Akhilesh Darjee
2013-09-11 13:05:24 +05:30
parent 881a47f5c7
commit db59ffb76d
32 changed files with 129 additions and 289 deletions

View File

@@ -24,16 +24,6 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
filters: { 'buying_or_selling': "Buying" }
}
});
this.frm.set_query("price_list_currency", function() {
return{
query: "controllers.queries.get_price_list_currency",
filters: {
'price_list': me.frm.doc.buying_price_list,
'buying_or_selling': "Buying"
}
}
});
}
$.each([["supplier", "supplier"],
@@ -152,7 +142,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
},
buying_price_list: function() {
this.get_price_list_currency("buying");
this.get_price_list_currency("Buying");
},
import_ref_rate: function(doc, cdt, cdn) {