Skip to Content
Menu
This question has been flagged
1368 Views
Using custom module https://github\.com/OCA/reporting\-engine/blob/15\.0/report_xml to\ generate\\ xml\\ report\\.\\ After\\ following\\ normal\\ practices\\ to\\ generate\custom\report\from https://www\.odoo\.com/documentation/15\.0/developer/reference/backend/reports\.html\#custom\-reports\ on\\ model\ \sale\\.order\ ,\also\made\my\custom\module\dependent\on\\ report_xml\\\ \.\I\get\the\following\error:\\

content,\ttype\=\report_model\\.generate_report\\ \(\AttributeError:\'report\\.top_selling_product_report\\.top_selling_repo'\object\has\no\attribute\'generate_report'\\

Here\is\the\link\to\the\\ generate_report\\ function\https://github.com/OCA/reporting-engine/blob/7c382039b03f47f86665eaa35f84837cc82ccf29/report_xml/reports/report_report_xml_abstract.py#L24 function in base module report_xml .
Avatar
Discard
Author

I don't know why forum is adding slashes even though tried writing it again and again, I apologize, please ignore '\'.

Related Posts Replies Views Activity
1
May 22
2323
2
Dec 19
3894
0
Nov 15
2620
1
Nov 24
103
0
Nov 24
128