Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Internal Server Error after theme installation

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
communityerror500v17
2 Trả lời
4599 Lượt xem
Ảnh đại diện
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
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Robin JOSEPH
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
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.

Ảnh đại diện
Niyas Raphy (Walnut Software Solutions)
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Loai Metwalli
Tác giả

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
Tác giả

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

Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
TypeError: odoo.tools.misc.frozendict() got multiple values for keyword argument 'deferred_start_date'
error v17
Ảnh đại diện
0
thg 1 25
1641
Missing stock information in quotation / sales order
community v17
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
4
thg 10 24
2160
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
Ảnh đại diện
0
thg 4 24
2384
UnknownTimeZoneError: 'Europe/Kyiv' in Odoo.sh
error v17
Ảnh đại diện
Ảnh đại diện
1
thg 4 24
2378
Deploy confugration
community v17
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 4 24
8753
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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