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

theme vista backend - error 500

Subscribe

Get notified when there's activity on this post

This question has been flagged
error500theme
2 Replies
4322 Views
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
Discard
Avatar
Rui Guimarães
Author Best Answer

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
Discard
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
Author

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
Author

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
Author

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
Author

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
Author

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
Best Answer

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
Discard
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
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
Dec 21
2422
code error 500 - Internal Server Error
error 500
Avatar
Avatar
2
Oct 20
8467
Odoo V10 - Internal Error 500: KeyError: 'mass_mailing_campaign_id' after installing
error 500
Avatar
Avatar
Avatar
4
Apr 17
5526
500: Internal Server Error when clicking VIEW RESULTS from survey
survey error 500
Avatar
4
Sep 15
6125
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