Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AttributeError 'get_frontend_session_info' odoo

Tags:

odoo-15

I have a project in odoo15 running and created database, but after to try to open login page i have this error. Someone can help me please.

Error when render the template
AttributeError: 'ir.http' object has no attribute 'get_frontend_session_info'
Template: web.frontend_layout
Path: /t/html/head/script[2]/t
Node: <t t-out="json.dumps(request.env['ir.http'].get_frontend_session_info())"/>;
                if (!/(^|;\s)tz=/.test(document.cookie)) {
                    const userTZ = Intl.DateTimeFormat().resolvedOptions().timeZone;
                    document.cookie = `tz=${userTZ}; path=/`;
                } - - -
like image 426
Ruben de Pina Avatar asked Jun 08 '26 14:06

Ruben de Pina


1 Answers

Go to your list databases ../web/database/manager and delete the database created.

Install the package qrcode

sudo pip install qrcode

Create again your database in ../web/database/manager

This work for me, I hope it helps you

like image 97
Carlos García Avatar answered Jun 11 '26 23:06

Carlos García



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!