mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #37220 from frappe/mergify/bp/version-14-hotfix/pr-37167
fix: set customer currency in pos_invoice if exists (#37167)
This commit is contained in:
@@ -518,7 +518,7 @@ class POSInvoice(SalesInvoice):
|
|||||||
selling_price_list = (
|
selling_price_list = (
|
||||||
customer_price_list or customer_group_price_list or profile.get("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)
|
self.set("currency", customer_currency)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user