Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Internal Server Error after theme installation

Subscribe

Get notified when there's activity on this post

This question has been flagged
communityerror500v17
2 Replies
4679 Views
Avatar
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
Avatar
Discard
Avatar
Robin JOSEPH
Best Answer

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
Avatar
Discard
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.

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

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
Avatar
Discard
Loai Metwalli
Author

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
Author

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

Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
TypeError: odoo.tools.misc.frozendict() got multiple values for keyword argument 'deferred_start_date'
error v17
Avatar
0
Jan 25
1722
Missing stock information in quotation / sales order
community v17
Avatar
Avatar
Avatar
Avatar
4
Oct 24
2197
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
Avatar
0
Apr 24
2435
UnknownTimeZoneError: 'Europe/Kyiv' in Odoo.sh
error v17
Avatar
Avatar
1
Apr 24
2467
Deploy confugration
community v17
Avatar
Avatar
Avatar
3
Apr 24
8798
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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