fix: set report_ref_doctype for custom reports

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2025-02-14 16:25:48 +05:30
parent 44e9752bb1
commit b5ee3b29cf
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F

View file

@ -565,6 +565,7 @@ def get_custom_report_list(module):
else 0,
"label": _(r.name),
"link_to": r.name,
"report_ref_doctype": r.ref_doctype,
}
for r in reports
]