Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Internal Server Error after theme installation

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
communityerror500v17
2 Odpowiedzi
4663 Widoki
Awatar
Loai Metwalli

Odoo 17 Community version installed on windows server 16


I installed a backend theme, it didn't work, after then i installed the default theme thinking that it will rollback whatever the installed theme may have done, so it now redirects me to website front page, and whenever i click on the settings page, apps, or any backend page it gives me the following error:


Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.


I checked the log and found the following:


2024-06-04 13:18:19,556 3208 ERROR odoo24 odoo.http: Exception during request handling. 
Traceback (most recent call last):
  File "", line 172, in template_190
  File "", line 154, in template_190_content
  File "", line 140, in template_190_t_call_0
AttributeError: 'res.users' object has no attribute 'sidebar_type'

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

Traceback (most recent call last):
  File "C:\Program Files\Odoo 17.0.20231130\server\odoo\ir_qweb.py", line 593, in _render
    result = ''.join(rendering)
  File "", line 178, in template_190
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
AttributeError: 'res.users' object has no attribute 'sidebar_type'
Template: web.webclient_bootstrap
Path: /t/t/t[5]
Node: 


0
Awatar
Odrzuć
Awatar
Robin JOSEPH
Najlepsza odpowiedź

Hi Loai Metwalli, 

Have you founded a good solution? I have exactly the same problem, investigating in the database since 24 hours, but I can't find any solution. 

Thank you in advance for your answer!

0
Awatar
Odrzuć
Niyas Raphy (Walnut Software Solutions)

did you add any custom modules ? if yes, try upgrading that app from the command line

Robin JOSEPH

Yes, I add https://apps.odoo.com/apps/themes/17.0/muk_web_theme and then https://apps.odoo.com/apps/themes/17.0/code_backend_theme before understanding that installing a theme isn't uninstalling the previous automatically.

I uninstalled both of them, but I think that button “Uninstall” isn't really totally uninstalling modules. Then, I tried to use commands like :

`odoo -u all -d <database> --stop-after-init`

But nothing is working, I always have the issue.

Awatar
Niyas Raphy (Walnut Software Solutions)
Najlepsza odpowiedź

Hi,
In order to resolve the error you can do the following

  • Enable debug mode
  • Navigate to Settings -> Technical -> User Interface -> Views
  • Search for view containing the field sidebar_type inside the view architecture
  • Delete the view or delete the field from the view
  • Refresh the screen and you wont have the error

    Thanks
0
Awatar
Odrzuć
Loai Metwalli
Autor

Thanks for your reply, I cannot reach the backend though so i need to do whatever solution from the pgadmin, i checked the logs again and found the first time this error occured as follows:

2024-06-04 10:17:30,836 4912 ERROR odoo24 odoo.addons.base_import_module.models.ir_module: Error while importing module
Traceback (most recent call last):
File "C:\Program Files\Odoo 17.0.20231130\server\odoo\addons\base_import_module\models\ir_module.py", line 250, in _import_zipfile
if self._import_module(mod_name, path, force=force, with_demo=with_demo):
File "C:\Program Files\Odoo 17.0.20231130\server\odoo\addons\base_import_module\models\ir_module.py", line 124, in _import_module
convert_xml_import(self.env, module, fp, idref, mode, noupdate)
File "C:\Program Files\Odoo 17.0.20231130\server\odoo\tools\convert.py", line 693, in convert_xml_import
obj.parse(doc.getroot())
File "C:\Program Files\Odoo 17.0.20231130\server\odoo\tools\convert.py", line 613, in parse
self._tag_root(de)
File "C:\Program Files\Odoo 17.0.20231130\server\odoo\tools\convert.py", line 567, in _tag_root
raise ParseError(msg) from None # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback
odoo.tools.convert.ParseError: while parsing file:/c:/windows/servic~2/locals~1/appdata/local/temp/tmpo5yickl6/muk_web_appsbar/views/res_users.xml:5
Error while validating view near:

<form string="Users" edit="1">
<widget name="notification_alert"/>
<field name="avatar_128" invisible="1"/>
<field name="image_1920" readonly="0" widget="image" class="oe_avatar" options="{&quot;preview_image&quot;: &quot;avatar_128&quot;}"/>
<h1>

Field "sidebar_type" does not exist in model "res.users"

View error context:
{'file': 'c:\\windows\\servic~2\\locals~1\\appdata\\local\\temp\\tmpo5yickl6\\muk_web_appsbar\\views\\res_users.xml',
'line': 3,
'name': 'res.users.form',
'view': ir.ui.view(2272,),
'view.model': 'res.users',
'view.parent': ir.ui.view(169,),
'xmlid': 'view_res_users_form'}

Loai Metwalli
Autor

Another inquiry, can i execute terminal commands while my odoo was installed via an executable installer in program files? if yes how can i do it as currently cmd doesn't accept odoo commands

Kamrul Hasan

you can try odoo update all command through terminal
./odoo-bin -c odoo-server.conf -d database_name -u all

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
TypeError: odoo.tools.misc.frozendict() got multiple values for keyword argument 'deferred_start_date'
error v17
Awatar
0
sty 25
1715
Missing stock information in quotation / sales order
community v17
Awatar
Awatar
Awatar
Awatar
4
paź 24
2194
The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle: web.core board.board
community v17
Awatar
0
kwi 24
2426
UnknownTimeZoneError: 'Europe/Kyiv' in Odoo.sh
error v17
Awatar
Awatar
1
kwi 24
2463
Deploy confugration
community v17
Awatar
Awatar
Awatar
3
kwi 24
8791
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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