Skip to content
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]No more possible to print report #17

Open
flotho opened this issue Oct 19, 2021 · 3 comments
Open

[14.0]No more possible to print report #17

flotho opened this issue Oct 19, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@flotho
Copy link

flotho commented Oct 19, 2021

because of render method that is no more public :

OCA/odoorpc#65
odoo/odoo#78528

@flotho flotho added the bug Something isn't working label Oct 19, 2021
@bwilmus
Copy link

bwilmus commented Oct 19, 2021

What is the solution ? Create an Odoo module with a function that will call the private print function from a public function ?

@flotho
Copy link
Author

flotho commented Oct 19, 2021

What is the solution ? Create an Odoo module with a function that will call the private print function from a public function ?

this is actually the fastest wy to do this but the proper way should be to user http controller and routing and pass the csrf token to be able to DL the pdf thanks to report/download routes

@bwilmus
Copy link

bwilmus commented Oct 19, 2021

Proper way sounds good but if it needs a lot of time and ressources, the fast way is the right option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants