fix(POS): local variable 'customer_currency' referenced before assignment (#25137)
This commit is contained in:
parent
f4e7e72f67
commit
0773d6772d
@ -332,8 +332,6 @@ class POSInvoice(SalesInvoice):
|
|||||||
|
|
||||||
if selling_price_list:
|
if selling_price_list:
|
||||||
self.set('selling_price_list', 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
|
# set pos values in items
|
||||||
for item in self.get("items"):
|
for item in self.get("items"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user