Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

[V9] Menu disappears and logout after activating developer mode

Subscriure's

Get notified when there's activity on this post

This question has been flagged
bugdeveloper_modev9.0
17 Respostes
9383 Vistes
Avatar
Lucas Huber

After I try to activate the  developer mode I see the page reloading but after that it seems that I'm not longer logged in. But this happens only when I run the odoo server (an Ubuntu 14.4) in the subdomain mode with this  parameter (dbfilter=^%d).

if I click on the Logo, what is the only thing that remains, I will get back to the login menue.

Seems to me as it is a bug?

3
Avatar
Descartar
Ermin Trevisan

What do you see when try the database selector: subdomain.domain.tld/web/database/manager ?

Ermin Trevisan

Also my regexp looks like ^%d$ , I don't know if the $ sign makes a difference.

Lucas Huber
Autor

@Erwin I see all the database in the databse selector that have an identical beginning of the db-name. Eg. If my domain is demo.domain.tld and I have also a db called demo_xx I cann see this one too. I can't imagine that the $ sign at the end of your dbfilter regexp makes a different? But I should try: on the difference dee: https://www.odoo.com/de_DE/forum/hilfe-1/question/domain-based-db-filter-6583

Ermin Trevisan

The $ seems not the issue in this case. The reason why I'm asking is that I experience also strange behaviour with logouts when I'm using Odoo without dbfilter, means while having access to a list of several databases. A new login by selecting the appropriate database from the list solves the problem. I definitely do not have any problems as long as dbfilter identifies exactly 1 database which should be the case in production mode anyway if you want to avoid different kind of problems.

Ermin Trevisan

I don't remember if it makes a difference if you properly log out before selecting another database and then activating the developer mode. But I have to confess that this issue doesn't bother me too much, I have many more serious problems to solve :-)

Avatar
Prowler
Best Answer

+1

I can confirm.

I'm experiencing this behavior after setting dbfilter=^%d$ in my config file.

Here are my logs, if anybody will be able to look into this problem: http://pastebin.com/eXHTxzf7

2
Avatar
Descartar
Prowler

Can somebody upvote me... I only need 1 more karma.. :)

Ermin Trevisan

I did not see this earlier, sorry. If it is not yet solved, by looking at your log, i can see that the requests on port 8069 seem all to look like https://example.com. In this case you do not have a subdomain and Odoo is looking for the database "example", this is the same as if your request is https://www.example.com.

Lucas Huber
Autor

@Ermin Indeed according the log of @Prowler the source of the problem might be different in his case. In my case everythink works fine until I activate the deveopler mode. NGINX is configured well and same configration works with Odoo 8 flawless.

Serhii Mishchenko

I solved a similar problem by deleting the second database.

Avatar
Lucas Huber
Autor Best Answer

Here is my log file with the two relevant entries:

(At my first trial I didn't found the relevant entries!)

2016-03-30 12:01:37,176 1151 INFO ? werkzeug: 127.0.0.1 - - [30/Mar/2016 12:01:37] "GET /web_editor/static/src/js/snippets.options.js HTTP/1.0" 200 -
2016-03-30 12:01:37,207 1151 WARNING ? openerp.http: Logged into database 'test', but dbfilter rejects it; logging session out.

2016-03-30 12:01:59,159 1151 INFO ? werkzeug: 127.0.0.1 - - [30/Mar/2016 12:01:59] "GET /web_editor/static/src/xml/snippets.xml?debug=1459339218287 HTTP/1.0" 200 -
2016-03-30 12:01:59,383 1151 INFO ? werkzeug: 127.0.0.1 - - [30/Mar/2016 12:01:59] "GET /web_editor/static/src/xml/translator.xml?debug=1459339218461 HTTP/1.0" 200 -
2016-03-30 12:01:59,423 1151 INFO test werkzeug: 127.0.0.1 - - [30/Mar/2016 12:01:59] "POST /web/webclient/bootstrap_translations HTTP/1.0" 200 -
2016-03-30 12:01:59,445 1151 INFO test werkzeug: 127.0.0.1 - - [30/Mar/2016 12:01:59] "POST /web/proxy/load HTTP/1.0" 200-
2016-03-30 12:01:59,508 1151 INFO test werkzeug: 127.0.0.1 - - [30/Mar/2016 12:01:59] "POST /web/webclient/translations HTTP/1.0" 200 -
2016-03-30 12:02:05,617 1151 INFO test werkzeug: 127.0.0.1 - - [30/Mar/2016 12:02:05] "GET /web?debug HTTP/1.0" 303 -
2016-03-30 12:02:05,796 1151 INFO test werkzeug: 127.0.0.1 - - [30/Mar/2016 12:02:05] "GET /web/login HTTP/1.0" 200 -
2016-03-30 12:02:21,176 1151 WARNING test openerp.addons.base.ir.ir_cron: Method `bus.presence.check_users_disconnection`does not exist.



1
Avatar
Descartar
Prowler

I'm afraid this question won't get any more attention as it is buried under the new ones. The "support" ends here. Damn!

Avatar
fussions
Best Answer

Hello Lucas,

I've faced the same issue. I've resolved it by properly configuring my reverse proxy nginx server. It wasn't passing right headers to static resources requests (/web/static). I had to set proxy_set_header directive with host variable. Also it should be set on longpolling requests if you are using the im feature.

0
Avatar
Descartar
Avatar
Ivan Elizaryev
Best Answer

Workaround for one who needs debug mode only for Technical Features:

https://github.com/OCA/server-tools/tree/9.0/base_technical_features

0
Avatar
Descartar
Avatar
Michel Haluzicky
Best Answer

Hello,

As I am experiencing the same problem, please find below the log:

2016-06-13 22:59:37,842 3002 INFO ? werkzeug: 127.0.0.1 - - [13/Jun/2016 22:59:37] "GET /base/static/src/css/modules.css HTTP/1.0" 200 -
2016-06-13 22:59:37,843 3002 WARNING ? openerp.http: Logged into database 'database_name', but dbfilter rejects it; logging session out.
2016-06-13 22:59:37,849 3002 WARNING ? openerp.http: Logged into database 'database_name', but dbfilter rejects it; logging session out.
2016-06-13 22:59:37,856 3002 INFO ? werkzeug: 127.0.0.1 - - [13/Jun/2016 22:59:37] "GET /web/static/src/less/web.assets_backend/variables.less.css HTTP/1.0" 404 -
2016-06-13 22:59:37,861 3002 INFO ? werkzeug: 127.0.0.1 - - [13/Jun/2016 22:59:37] "GET /web/static/src/less/web.assets_backend/enterprise_compatibility.less.css HTTP/1.0" 404 -
2016-06-13 22:59:37,873 3002 INFO ? werkzeug: 127.0.0.1 - - [13/Jun/2016 22:59:37] "GET /web/static/src/less/web.assets_backend/utils.less.css HTTP/1.0" 404 -
2016-06-13 22:59:37,879 3002 INFO ? werkzeug: 127.0.0.1 - - [13/Jun/2016 22:59:37] "GET /web/static/src/less/web.assets_backend/modal.less.css HTTP/1.0" 404 -
2016-06-13 22:59:37,885 3002 INFO ? werkzeug: 127.0.0.1 - - [13/Jun/2016 22:59:37] "GET /web/static/src/less/web.assets_backend/notification.less.css HTTP/1.0" 404 -


Many thanks for your help with this.


Michel

0
Avatar
Descartar
Avatar
TKF
Best Answer

Hello Lucas,


Can you post an extract of your log when you get that error ?



Regards,

FTK


-1
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
ODOO 9.0 Community Version Quotation Bug (Pricelists & Quotations)
bug pricelists quotations v9.0
Avatar
0
de des. 15
4317
bug in hte installation modul
bug
Avatar
Avatar
1
d’abr. 25
1712
Odoo Server Error Solved
bug
Avatar
Avatar
1
d’abr. 25
1983
Kits - On-Hand and Forecast stock calculation
v9.0
Avatar
Avatar
Avatar
Avatar
3
de febr. 25
5389
Odoo 15 Bug al actualizar Módulo
bug
Avatar
0
de nov. 24
2096
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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