mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 21:18:27 +00:00
[price list] Separated Default Price List for Selling and Buying and changed fieldnames
This commit is contained in:
@@ -31,6 +31,6 @@ def get_ancestors_of(doctype, name):
|
||||
return result or []
|
||||
|
||||
@webnotes.whitelist()
|
||||
def get_price_list_currency(price_list_name):
|
||||
return {"price_list_currency": webnotes.conn.get_value("Price List", price_list_name,
|
||||
def get_price_list_currency(price_list):
|
||||
return {"price_list_currency": webnotes.conn.get_value("Price List", price_list,
|
||||
"currency")}
|
||||
Reference in New Issue
Block a user