fix: pos not working

This commit is contained in:
Rohit Waghchaure
2019-07-21 22:53:13 +05:30
parent a953b68a17
commit 565936442d

View File

@@ -407,7 +407,7 @@ class SalesInvoice(SellingController):
for field in ['taxes_and_charges', 'company_address']:
if pos.get(field):
self.set(field, pos.get(fieldname))
self.set(field, pos.get(field))
if not customer_price_list:
self.set('selling_price_list', pos.get('selling_price_list'))