Merge pull request #18441 from rohitwaghchaure/pos_not_working_for_hotfix

fix: pos not working
This commit is contained in:
rohitwaghchaure
2019-07-21 22:57:16 +05:30
committed by GitHub

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'))