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=/`;
} - - -
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With