Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

theme vista backend - error 500

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
error500theme
2 Respuestas
4262 Vistas
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 Mejor respuesta

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
Mejor respuesta

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
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
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
nov 25
20212
Error 500 on Ubuntu - Odoo Server 15.0
error 500
Avatar
0
dic 21
2372
code error 500 - Internal Server Error
error 500
Avatar
Avatar
2
oct 20
8410
Odoo V10 - Internal Error 500: KeyError: 'mass_mailing_campaign_id' after installing
error 500
Avatar
Avatar
Avatar
4
abr 17
5456
500: Internal Server Error when clicking VIEW RESULTS from survey
survey error 500
Avatar
4
sept 15
6071
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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