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

theme vista backend - error 500

Subscriure's

Get notified when there's activity on this post

This question has been flagged
error500theme
2 Respostes
4324 Vistes
Avatar
Rui Guimarães

Hi, when I'm doing the installation of the backend theme vista, my SV restart, so I can't enter on the backend, I think that the "non-complete" install, may cause that problem, is any way to restore or finish the install ? anything that I can do, to don't lose any data?

0
Avatar
Descartar
Avatar
Rui Guimarães
Autor Best Answer

Thank you for your answer and help. but I work with Windows 10. is the same?


but I'm getting also this error on log.


Error to render compiling AST
AttributeError: 'res.users' object has no attribute 'chatter_position'
Template: web.webclient_bootstrap
Path: /t/t/t[3]

0
Avatar
Descartar
Waleed Ali Mohsen

You need to stop the Odoo service. Then open cmd then cd to the path of odoo-bin

python odoo-bin -c [Config_file_path] -u web_responsive,vista_backend_theme -d [DB_NAME] --stop-after-init

Once the above command completed you can start the Odoo Service.

Waleed Ali Mohsen

This error came from web_responsive module which used by vista theme and you need to update it as per my last comment

Rui Guimarães
Autor

I already made that, but doesn't work.

C:\Program Files\Odoo 14.0.20201028\server>python odoo-bin -c odoo.conf -u web_responsive,vista_backend_theme -d lomartex --stop-after-init
Traceback (most recent call last):
File "C:\Program Files\Odoo 14.0.20201028\server\odoo-bin", line 5, in <module>
import odoo
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\__init__.py", line 115, in <module>
from . import osv
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\osv\__init__.py", line 4, in <module>
from . import osv
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\osv\osv.py", line 5, in <module>
from ..models import Model, TransientModel, AbstractModel
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\models.py", line 6289, in <module>
collections.Set.register(BaseModel)
AttributeError: module 'collections' has no attribute 'Set'

C:\Program Files\Odoo 14.0.20201028\server>

Waleed Ali Mohsen

You can see in the Python3.10 whatsnew, under the Removed section, the following:

Remove deprecated aliases to Collections Abstract Base Classes from the collections module. (Contributed by Victor Stinner in bpo-37324.)

Unfortunatly , Odoo still use the deprecated alias collections.Set and to fix that error, you can downgrade your python version

https://stackoverflow.com/questions/71130842/attributeerror-module-collections-has-no-attribute-set

Rui Guimarães
Autor

Error to render compiling AST
AttributeError: 'res.users' object has no attribute 'chatter_position'
Template: web.webclient_bootstrap
Path: /t/t/t[3]
Node: <t t-set="body_classname" t-value="'o_web_client' + ' o_chatter_position_' + (request.env.user.chatter_position or 'normal')"/> - - -

I get that error on .log
Is any way to set to the default theme of backend ?
I just want to get access to our backend, without any theme. I really need the information that I have there.

Rui Guimarães
Autor

I also downgrade to the python 3.8

Waleed Ali Mohsen

the chatter_position field in web_responsive module you need to stop the service and update the module using command:

python odoo-bin -c [Config_file_path] -u web_responsive,vista_backend_theme -d [DB_NAME] --stop-after-init

Rui Guimarães
Autor

after do your command... this appear:

C:\Program Files\Odoo 14.0.20201028\server>python odoo-bin -c C:\Program Files\Odoo 14.0.20201028\server -u web_responsive,vista_backend_theme -d lomartex --stop-after-init
Usage: odoo-bin [options]

odoo-bin: error: unrecognized parameters: 'Files\Odoo 14.0.20201028\server'

Waleed Ali Mohsen

You have to add double quotation to the path and you missed the config file

python odoo-bin -c "C:\Program Files\Odoo 14.0.20201028\server\odoo.conf" -u web_responsive,vista_backend_theme -d lomartex --stop-after-init

Rui Guimarães
Autor

we already made it... but ...

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Program Files\Odoo 14.0.20201028\python\lib\site-packages\werkzeug\serving.py", line 306, in run_wsgi
execute(self.server.app)
File "C:\Program Files\Odoo 14.0.20201028\python\lib\site-packages\werkzeug\serving.py", line 294, in execute
application_iter = app(environ, start_response)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\service\server.py", line 440, in app
return self.app(e, s)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\service\wsgi_server.py", line 124, in application
return application_unproxied(environ, start_response)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\service\wsgi_server.py", line 99, in application_unproxied
result = odoo.http.root(environ, start_response)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\http.py", line 1294, in __call__
return self.dispatch(environ, start_response)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\http.py", line 1262, in __call__
return self.app(environ, start_wrapped)
File "C:\Program Files\Odoo 14.0.20201028\python\lib\site-packages\werkzeug\middleware\shared_data.py", line 220, in __call__
return self.app(environ, start_response)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\http.py", line 1464, in dispatch
result = ir_http._dispatch()
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\website_sale\models\ir_http.py", line 15, in _dispatch
return super(IrHttp, cls)._dispatch()
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\website\models\ir_http.py", line 181, in _dispatch
response = super(Http, cls)._dispatch()
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\auth_signup\models\ir_http.py", line 19, in _dispatch
return super(Http, cls)._dispatch()
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\web_editor\models\ir_http.py", line 21, in _dispatch
return super(IrHttp, cls)._dispatch()
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\utm\models\ir_http.py", line 29, in _dispatch
response = super(IrHttp, cls)._dispatch()
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\http_routing\models\ir_http.py", line 512, in _dispatch
result = super(IrHttp, cls)._dispatch()
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\base\models\ir_http.py", line 241, in _dispatch
return cls._handle_exception(e)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\utm\models\ir_http.py", line 34, in _handle_exception
response = super(IrHttp, cls)._handle_exception(exc)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\http_routing\models\ir_http.py", line 602, in _handle_exception
return super(IrHttp, cls)._handle_exception(exception)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\base\models\ir_http.py", line 209, in _handle_exception
return request._handle_exception(exception)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\http.py", line 743, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\http.py", line 314, in _handle_exception
raise exception.with_traceback(None) from new_cause
odoo.addons.base.models.qweb.QWebException: 'res.users' object has no attribute 'chatter_position'
Traceback (most recent call last):
File "C:\Program Files\Odoo 14.0.20201028\server\odoo\addons\base\models\qweb.py", line 331, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_web_webclient_bootstrap_754
File "<template>", line 2, in body_call_content_752
AttributeError: 'res.users' object has no attribute 'chatter_position'

Error to render compiling AST
AttributeError: 'res.users' object has no attribute 'chatter_position'
Template: web.webclient_bootstrap
Path: /t/t/t[3]
Node: <t t-set="body_classname" t-value="'o_web_client' + ' o_chatter_position_' + (request.env.user.chatter_position or 'normal')"/> - - -
2022-03-29 16:00:13,133 9160 INFO lomartex werkzeug: 192.168.1.72 - - [29/Mar/2022 16:00:13] "GET /favicon.ico HTTP/1.1" 301 - 17 0.013 0.018

Avatar
Waleed Ali Mohsen
Best Answer

You can stop the Odoo service and then run the below command from the path of odoo-bin file:

-i uses to install module(s) before running Odoo, You can use -u rather than -i if you want to update the module.

--stop-after-init  used stops the service after its initialization.

./odoo-bin -c [Config_file_path] -i vista_backend_theme -d [DB_NAME]  --stop-after-init

0
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
Why do I get the error 'KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fe7d333c268>, 'theme_common._assets_primary_variables')'?
error theme
Avatar
1
de nov. 25
20212
Error 500 on Ubuntu - Odoo Server 15.0
error 500
Avatar
0
de des. 21
2423
code error 500 - Internal Server Error
error 500
Avatar
Avatar
2
d’oct. 20
8468
Odoo V10 - Internal Error 500: KeyError: 'mass_mailing_campaign_id' after installing
error 500
Avatar
Avatar
Avatar
4
d’abr. 17
5527
500: Internal Server Error when clicking VIEW RESULTS from survey
survey error 500
Avatar
4
de set. 15
6126
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