Help

0

v15: object has no attribute 'generate_report'

Avatar
Newbie
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 .
2Comments
Avatar
Discard
Avatar
Newbie
-

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

Avatar
Newbie
-