Merge pull request #37219 from frappe/mergify/bp/develop/pr-37167

fix: set customer currency in pos_invoice if exists (#37167)
This commit is contained in:
Deepesh Garg 2023-09-24 20:18:27 +05:30 committed by GitHub
commit 08566204dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -414,7 +414,7 @@ class POSInvoice(SalesInvoice):
selling_price_list = (
customer_price_list or customer_group_price_list or profile.get("selling_price_list")
)
if customer_currency != profile.get("currency"):
if customer_currency and customer_currency != profile.get("currency"):
self.set("currency", customer_currency)
else: