diff --git a/simple_subscription/simple_subscription/doctype/simple_subscription_item/simple_subscription_item.py b/simple_subscription/simple_subscription/doctype/simple_subscription_item/simple_subscription_item.py index 530f6fd..39b23e2 100644 --- a/simple_subscription/simple_subscription/doctype/simple_subscription_item/simple_subscription_item.py +++ b/simple_subscription/simple_subscription/doctype/simple_subscription_item/simple_subscription_item.py @@ -27,7 +27,8 @@ def current_rate(self): fetch_payment_terms_template=False, ) - price_list = party_details.selling_price_list or frappe.db.get_value( + price_list = party_details.selling_price_list or frappe.db.get_single_value( + "Selling Settings", "selling_price_list") or frappe.db.get_value( "Price List", {"selling": 1, "currency": currency, "enabled": 1} )