콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

When I want to log in to my database I got this error ..
I don't know where is the problem ..
It was completely functional ..

odoo.addons.base.ir.ir_qweb.qweb.QWebException

odoo.addons.base.ir.ir_qweb.qweb.QWebException: Name node can't be used with 'None' constant Traceback (most recent call last): File "/home/nebil/Documents/odoo/odoo11/odoo/odoo/addons/base/ir/ir_qweb/qweb.py", line 331, in compile unsafe_eval(compile(astmod, '<template>', 'exec'), ns) ValueError: Name node can't be used with 'None' constant Error when compiling AST ValueError: Name node can't be used with 'None' constant Template: 162 Path: /templates/t/t/form/div[4]/button Node: <button type="submit" class="btn btn-primary">Log in</button>

아바타
취소
베스트 답변

The Issue is with Python 3.8

Downgrade your python version below 3.8 and try. 


Hope it helps :)

아바타
취소
작성자

Thank you very much ..

you saved my life ..

how do I downgrade to older version? does it will affect other odoo versions

작성자

@abhishek you can use virtual environment with different version of python ..

관련 게시물 답글 화면 활동
2
2월 18
7885
1
5월 23
10035
1
12월 22
4069
2
12월 22
6381
qweb Exception 해결 완료
4
8월 20
8930