Skip to content

Commit

Permalink
style: format python file
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Oct 14, 2024
1 parent 0c477ae commit 626734a
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ def current_rate(self):
fetch_payment_terms_template=False,
)

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}
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}
)
)

item_details = get_item_details(
Expand Down

0 comments on commit 626734a

Please sign in to comment.