[fixes] buying/selling price lists, communication and website settings

This commit is contained in:
Anand Doshi
2013-06-12 17:40:36 +05:30
parent 9c901e75cd
commit 060d9248d3
23 changed files with 162 additions and 67 deletions

View File

@@ -90,14 +90,14 @@ erpnext.TransactionController = wn.ui.form.Controller.extend({
this.price_list_currency();
},
price_list_name: function(use_for) {
price_list_name: function(buying_or_selling) {
var me = this;
if(this.frm.doc.price_list_name) {
this.frm.call({
method: "setup.utils.get_price_list_currency",
args: {args: {
price_list_name: this.frm.doc.price_list_name,
use_for: use_for
buying_or_selling: buying_or_selling
}},
callback: function(r) {
if(!r.exc) {