mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
fixes for purchase price list
This commit is contained in:
@@ -45,9 +45,11 @@ erpnext.buying.PurchaseReceiptController = erpnext.buying.BuyingController.exten
|
||||
}
|
||||
|
||||
// TODO: improve this
|
||||
if(this.frm.doc.__islocal && this.frm.fields_dict.price_list_name
|
||||
&& this.frm.doc.price_list_name) {
|
||||
this.price_list_name(callback);
|
||||
if(this.frm.doc.__islocal) {
|
||||
if (this.frm.fields_dict.price_list_name && this.frm.doc.price_list_name)
|
||||
this.price_list_name(callback);
|
||||
else
|
||||
callback(doc, dt, dn);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user