Cannot view Customer address and Contact in V7

Hi

In V7 I cannot open Customer address and Contact.

The error in console is:

report.min.js:867 
Uncaught TypeError: Cannot read property 'ref_doctype' of undefined

How to solve this?

Seems like there is an issue if you try to access this report from CRM module, try accessing it from Selling module. it is the same report but works fine from Selling Module.

Thank you @KanchanChauhan

I just found the error.
It is in crm.py

{
“type”: “report”,
“is_query_report”: True,
“name”: “Customer Addresses And Contacts”,
“doctype”: “Contact”
},

The ‘And’ was ‘and’

1 Like

Yup. PR already in queue. [Fix] Customer Addresses and Contacts report fixed for CRM module by KanchanChauhan · Pull Request #6782 · frappe/erpnext · GitHub. Will be merged soon.

1 Like