Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Blank page after logging in odoo

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
4 Răspunsuri
35777 Vizualizări
Imagine profil
Agatino Platania

Hello,

After i restarted my server, seemed to work but after logging what worked well i saw only this:

https://www.dropbox.com/s/0q13fcipr86tzx9/odoo-bug.PNG?dl=0

I tried to restart odoo,postgresql and other services several times but it didnt work.

Log file:

https://www.dropbox.com/s/dddfqqyxdlz3ogf/odoo-server %281%29.log?dl=0

At the moment i don't know where to put on to get it working

 



7
Imagine profil
Abandonează
Imagine profil
Paresh Wagh
Cel mai bun răspuns

Seems like an old post that got bumped up. If anyone faces a similar issue, try this.

Log in to odoo with a user who has Administrator privileges. Then type in ?debug=assets at the end of the url and hit enter (use https:// or http:// depending whether you have SSL enabled or not). 

Your url should look like this <your odoo site url:port>/web?debug=assets​​​

​This enables developer mode (with assets). Then go to Open Developer Tools (the tiny bug icon at the top right of your screen) and select Regenerate Assets Bundles. 

This should take care of the problem. I've seen this issue occurring when you move an odoo database from one machine to another.

 

15
Imagine profil
Abandonează
Talha alam

Thanks it worked:-)

Paresh Wagh

Great. Please click on the “Check mark” on the post to mark it as correct so that others can also benefit from it.

 

Thanks and regards,

Paresh

 

Sent from Mail for Windows 10

 

From: Talha alam
Sent: Sunday, April 19, 2020 3:45 AM
To: Paresh Wagh
Subject: Re: Blank page after logging in odoo

 

View Forum Post

Odoo S.A.

Thanks it worked:-)

Sent by Odoo S.A. using Odoo.

 

george

I faced the same problem and tried to find a solution for hours. Thank you very much @Paresh!

Dries Cox

Thanks Paresh Wagh, you saved my day!

Imagine profil
Nathan Mugnier
Cel mai bun răspuns

I crossed your question 5 months ago and didn't found the answer until recently. Many reason might cause this error, but here is what caused it for me.


This answer will probably help you if you have custom routes in your controllers.


First of all, the solution :
​​​

You should never redefine any attribute of the `Response` object in a direct manner. 
This mean that a line such as

 Response.status = '400 Invalid credentials'

 will cause this error to occur everytime the route in which you have it is called. 

​

More in-depth about this bug : 
​

When you do

 Response.status = '400 Bad request' 

you regain control of the Response object, and interrupt the normal workflow of odoo. 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). 

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). 
  

So how to modify the response status? : 
​

A quick glance at the core modules gives us the answer

​

Case of custom HTTP method (Like POST) :  ​


raise werkzeug.exception.BadRequest("400 Invalid credentials")


Note that you can't raise any other error than 400 by default. If you want to do so, you have to modify the http.py file in the odoo's root repertory. But be aware that this probably mean you didn't understood the HTTP protocol, as I did. In fact, most of the time you should return 200, there is no HTTP error so request is a success. 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). 

​

Case of standard method AFAIK (Like GET): 
​

response = werkzeug.wrappers.Response(json.dumps({<i>[your json dictionary]</i>}), status="400 Invalid credentials")
return response
1
Imagine profil
Abandonează
Imagine profil
Ketul patel
Cel mai bun răspuns

Open inspect in your browser and see in console. if any error then solve it. like missing some abc.js file or etc..

0
Imagine profil
Abandonează
Imagine profil
Yvan
Cel mai bun răspuns

Dear Agatino,


i have ever faced a similar problem, respectively similar errors in the log file. The source of the problem was a missing addon-path during the initialization of a new database. The typical error message is "ImportError: No module named fields".

If, having an emtpy database, you start the odoo server without specifying "/odoo/odoo-server/odoo/addons" as an addon-path, you will see this error message in the log file: ""ImportError: No module named fields".

I don't know if it's possible to correct the problem without having to drop the database and create a new one. I would suggest to drop the database, create a new one an start odoo 

$ dropdb rpr1
$ createdb rpr1 


Best regards

Yvan

-1
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now