Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7123 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 18
7896
1
พ.ค. 23
10060
1
ธ.ค. 22
4097
2
ธ.ค. 22
6405
qweb Exception แก้ไขแล้ว
4
ส.ค. 20
8948