fix(POS): local variable 'customer_currency' referenced before assignment (#25137)

This commit is contained in:
Rucha Mahabal 2021-04-01 17:47:19 +05:30 committed by GitHub
parent f4e7e72f67
commit 0773d6772d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,8 +332,6 @@ class POSInvoice(SalesInvoice):
if selling_price_list:
self.set('selling_price_list', selling_price_list)
if customer_currency != profile.get('currency'):
self.set('currency', customer_currency)
# set pos values in items
for item in self.get("items"):