-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0]Download report is not possible because of private _render method #65
Comments
I didn't. See #60 (comment), when @sebalix said:
|
do you mean the idea is to generate a crsf token and then call a report url ? |
#odoo 14
we added in odoo branch code, ir_actions_report.py, next to _render, we added this code and its resolve for us, until official team resolve Hope this will helps someone have urgency regards,
|
Yes this still need to be addressed, I wanted to grab the CSRF token from the login web page for instance and use it for methods that required one starting from Odoo 14.0. |
@sebalix Have you found any idea on how to grab the CSRF token for this issue ? Bests regards, |
for the record : #88 (comment) |
In v14, Odoo turn the public render method as private : OCA/OCB@d9287ca#diff-7ce69a093ea1fb1cf2989e24d52cb8e717ab4f2b3c2006ba5cc67503a3df1aff
gives this new signature : https://github.com/OCA/OCB/blob/14.0/odoo/addons/base/models/ir_actions_report.py#L871
Trying to download a report throws this issue :
@MiquelRForgeFlow , how do you succeed to make this work : 187853a#diff-891d7fc45dba1b16d043072a3d345c82fdecfd4e466ee9d90c0288c32dfc2ccfR118
Is there any workaround from your point of view ?
The text was updated successfully, but these errors were encountered: