跳至内容
菜单
此问题已终结

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
7897
1
5月 23
10066
1
12月 22
4099
2
12月 22
6410
4
8月 20
8950