The 500 page has `session.is_frontend === undefined` as it has its own whole HTML template. In that case, the ajax.loadXML is not done, making the tour crash when visiting a 500 error page. This is needed for #29957 that has a test tour on 500 error page. closes odoo/odoo#30240
28 lines
572 B
Python
28 lines
572 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Tours',
|
|
'category': 'Hidden',
|
|
'description': """
|
|
Odoo Web tours.
|
|
========================
|
|
|
|
""",
|
|
'version': '0.1',
|
|
'depends': ['web'],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'security/ir.rule.csv',
|
|
'views/tour_templates.xml',
|
|
'views/tour_views.xml'
|
|
],
|
|
'demo': [
|
|
'data/web_tour_demo.xml',
|
|
],
|
|
'qweb': [
|
|
"static/src/xml/debug_manager.xml",
|
|
],
|
|
'auto_install': True
|
|
}
|