"Company", filters.company, "default_currency"

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 42, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 907, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py”, line 94, in run
res = frappe.get_attr(method_name)(frappe._dict(filters))
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/report/sales_register/sales_register.py”, line 25, in execute
company_currency = frappe.db.get_value(“Company”, filters.company, “default_currency”)
AttributeError: ‘dict’ object has no attribute ‘company’

@Jermaine_Gray,

Thanks for reporting, created an GitHub issue AttributeError: 'dict' object has no attribute 'company' in sales register report · Issue #8443 · frappe/erpnext · GitHub.