Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
7094 Visualizzazioni

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>

Avatar
Abbandona
Risposta migliore

The Issue is with Python 3.8

Downgrade your python version below 3.8 and try. 


Hope it helps :)

Avatar
Abbandona
Autore

Thank you very much ..

you saved my life ..

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

Autore

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

Post correlati Risposte Visualizzazioni Attività
2
feb 18
7884
1
mag 23
10030
1
dic 22
4058
2
dic 22
6368
4
ago 20
8919