with this commit we adding weekly recurrent widget, currently proeject and calendar shows boolean for each day vertically but with this widget we displays week days and its boolean horizontally. Here widget will display first day as per language's week_start field, also we adds FieldDependencies on custom widget and consider those FieldDependencies while processing view node in basic_view.js We add support of registry to contain owl custom widgets and add support of rendering owl custom widgets. Also with this commit we removes fields like sun, mon, tue etc. from view and instead use "web_weekly_recurrence" custom widget to display boolean for each week day. Co-authored-by: Mohammed Shekha <msh@odoo.com>
43 lines
1.3 KiB
Python
43 lines
1.3 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',
|
|
'views/base_document_layout_views.xml',
|
|
'data/report_layout.xml',
|
|
],
|
|
'qweb': [
|
|
"static/src/xml/base.xml",
|
|
"static/src/xml/chart.xml",
|
|
"static/src/xml/fields.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/search_panel.xml",
|
|
"static/src/xml/web_calendar.xml",
|
|
"static/src/xml/graph.xml",
|
|
"static/src/xml/week_days.xml",
|
|
],
|
|
'bootstrap': True, # load translations for login screen
|
|
}
|