mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 23:31:20 +00:00
[minor] [fix] get queries
This commit is contained in:
@@ -90,7 +90,7 @@ class TransactionBase(StatusUpdater):
|
||||
"""
|
||||
customer_defaults = self.get_customer_defaults()
|
||||
|
||||
customer_defaults["price_list"] = customer_defaults["price_list"] or \
|
||||
customer_defaults["price_list"] = customer_defaults.get("price_list") or \
|
||||
webnotes.conn.get_value("Customer Group", self.doc.customer_group, "default_price_list") or \
|
||||
self.doc.price_list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user