However you should add a `error` attribute to the json returned if behavior is not what the client expect (like a wrong password at connexion). In fact, most of the time you should return 200, there is no HTTP error so request is a success. But be aware that this probably mean you didn't understood the HTTP protocol, as I did. ![]() Nothing happens and I am forced to hit cancel in the - 9593733. Enter your Username and Password and click on Log In Step 3. Go to Dropbox Sign In Blank website using the links below Step 2. ![]() If you want to do so, you have to modify the http.py file in the odoo's root repertory. When I go to link Dropbox it quickly loads a login screen then switches to a blank screen titled Dropbox. How to login easier Let me give you a short tutorial. ![]() Note that you can't raise any other error than 400 by default. Case of custom HTTP method (Like POST) : If Dropbox loads perfectly fine in Incognito Mode, clear your browser cache, disable your extensions and check the results. If anybody knows why Odoo doesn't regain control of the Response object, feel free to edit this answer (and please do, this bugged me for so long).Ī quick glance at the core modules gives us the answer Solved: blank login screen with new installed dropbox Then I download dropbox desktop app from and successfully installed, while the first running of the application, it pop up a blank 'Set Up Dropbox' window, I cannot type anything to login as usual. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |