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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
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]
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.
This error came from web_responsive module which used by vista theme and you need to update it as per my last comment
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>
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
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.
I also downgrade to the python 3.8
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
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'
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
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
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
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
feb. 24
|
19684 | ||
|
0
dec. 21
|
1911 | ||
|
2
okt. 20
|
7912 | ||
|
4
apr. 17
|
5056 | ||
|
4
sep. 15
|
5681 |