Because the webclient and other higher level components such as the actionManager are not yet rewritten in OWL, we cannot make a complete migration of the controller and the model to a more OWL-ish code. We have rewritten the renderer completely in OWL, it uses more extensively a template and manages its own state and its sub-components. We did not rewrite the controller, however we have made it inherit from `web.ControllerAdapter` which is a thin compatibility layer used when a odoo controller uses a OWL renderer. In the tests, the only changes are that all the events triggered by the test and handled by OWL must be triggered on DOM nodes directly and not on JQuery elements. closes odoo/odoo#39491 Related: odoo/enterprise#7135 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com> Co-authored-by: VincentSchippefilt <vsc@odoo.com> Co-authored-by: pro-odoo <pro@odoo.com>
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Web',
|
|
'category': 'Hidden',
|
|
'version': '1.0',
|
|
'description':
|
|
"""
|
|
Odoo Web core module.
|
|
========================
|
|
|
|
This module provides the core of the Odoo Web Client.
|
|
""",
|
|
'depends': ['base'],
|
|
'auto_install': True,
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'views/webclient_templates.xml',
|
|
'views/report_templates.xml',
|
|
'data/report_layout.xml',
|
|
],
|
|
'qweb': [
|
|
"static/src/xml/base.xml",
|
|
"static/src/xml/chart.xml",
|
|
"static/src/xml/file_upload_progress_bar.xml",
|
|
"static/src/xml/file_upload_progress_card.xml",
|
|
"static/src/xml/kanban.xml",
|
|
"static/src/xml/menu.xml",
|
|
"static/src/xml/notification.xml",
|
|
"static/src/xml/pivot.xml",
|
|
"static/src/xml/rainbow_man.xml",
|
|
"static/src/xml/report.xml",
|
|
"static/src/xml/web_calendar.xml",
|
|
],
|
|
'bootstrap': True, # load translations for login screen
|
|
}
|