Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

theme vista backend - error 500

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
error500theme
2 Respostas
4442 Visualizações
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
Cancelar
Avatar
Rui Guimarães
Autor Melhor resposta

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
Cancelar
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
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
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
dez. 21
2517
code error 500 - Internal Server Error
error 500
Avatar
Avatar
2
out. 20
8640
Odoo V10 - Internal Error 500: KeyError: 'mass_mailing_campaign_id' after installing
error 500
Avatar
Avatar
Avatar
4
abr. 17
5652
500: Internal Server Error when clicking VIEW RESULTS from survey
survey error 500
Avatar
4
set. 15
6213
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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