Therefore, it is no longer able to use it correctly, and every Response returned by any odoo route will have the last status defined until you restart server (in this exemple, 400, so every request is considered as a BadRequest, causing the blank page and diverses others bugs, but 200 would do the same since 302 is necessary for redirections). You regain control of the Response object, and interrupt the normal workflow of odoo. When you do Response.status = '400 Bad request' Will cause this error to occur everytime the route in which you have it is called. This mean that a line such as Response.status = '400 Invalid credentials' You should never redefine any attribute of the `Response` object in a direct manner. This answer will probably help you if you have custom routes in your controllers. Many reason might cause this error, but here is what caused it for me. I crossed your question 5 months ago and didn't found the answer until recently.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |