mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
[fixes] buying/selling price lists, communication and website settings
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user