-
-
Notifications
You must be signed in to change notification settings - Fork 790
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
[FIX] report_csv: Assign 'reportname' variable before accessing it #773
Conversation
@adrienpeiffer In addition of this fix, shouldn't an error re-raise werkzeug InternalServerError instead ? Like this : https://github.com/odoo/odoo/blob/16.0/addons/stock/controllers/main.py#L38 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
@rousseldenis Totally agree with you ! |
@adrienpeiffer @AnizR @ioans73 In addition, I've added the InternalServerError return and a test for controller to increase coverage |
This PR has the |
/ocabot merge patch |
1 similar comment
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at c024599. Thanks a lot for contributing to OCA. ❤️ |
@AnizR @adrienpeiffer