commit | c704630d5fd465c832a5f99914ff465bed9a5987 | [log] [tgz] |
---|---|---|
author | Shreya Shah <shreyashah115@gmail.com> | Tue Nov 06 17:24:45 2018 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Tue Nov 06 17:24:45 2018 +0530 |
tree | efe20fc4e89e7f30e2f8425c7bfbc4821a57fbd5 | |
parent | 1a41929c6b3818a01a0cfb4336fa911999517eff [diff] |
fix: Return default if company not found (#15915)
diff --git a/erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.py b/erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.py index 017a2c9..1c12cdf 100644 --- a/erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.py +++ b/erpnext/accounts/report/item_wise_sales_register/item_wise_sales_register.py
@@ -16,7 +16,7 @@ if not filters: filters = {} columns = get_columns(additional_table_columns) - company_currency = erpnext.get_company_currency(filters.company) + company_currency = erpnext.get_company_currency(filters.get('company')) item_list = get_items(filters, additional_query_columns) if item_list: