[IMP] board: move board app to Dashboard app

Since cb5cca7, there are two "Dashboard" apps on the home screen.
The new one becomes the main Dashboard app.

The module `board` is not deprecated but it won't be advertised
as a full app anymore. It will continue to work on databases where it is
installed under a new menu item "My Dashboard" in the Dashboard app.

closes odoo/odoo#100260

Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
This commit is contained in:
Lucas Lefèvre
2022-09-20 20:19:49 +02:00
parent 7f70de37e0
commit 37f16fb9ac
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ def _auto_install_apps(cr, registry):
env['ir.module.module'].sudo().search([ env['ir.module.module'].sudo().search([
('name', 'in', [ ('name', 'in', [
# Community # Community
'board', 'hr', 'mass_mailing', 'project', 'survey', 'hr', 'mass_mailing', 'project', 'survey',
# Enterprise # Enterprise
'appointment', 'knowledge', 'planning', 'sign', 'appointment', 'knowledge', 'planning', 'sign',
]), ]),
+2 -2
View File
@@ -13,12 +13,12 @@ Lets the user create a custom dashboard.
Allows users to create custom dashboard. Allows users to create custom dashboard.
""", """,
'depends': ['base', 'web'], 'depends': ['spreadsheet_dashboard'],
'data': [ 'data': [
'security/ir.model.access.csv', 'security/ir.model.access.csv',
'views/board_views.xml', 'views/board_views.xml',
], ],
'application': True, 'application': False,
'assets': { 'assets': {
'web.assets_backend': [ 'web.assets_backend': [
'board/static/src/**/*.scss', 'board/static/src/**/*.scss',
+4 -3
View File
@@ -27,10 +27,11 @@
<data> <data>
<!--My Dashboard Menu--> <!--My Dashboard Menu-->
<menuitem <menuitem
id="menu_board_my_dash" id="menu_board_my_dash"
parent="base.menu_board_root" name="My Dashboard"
parent="spreadsheet_dashboard.spreadsheet_dashboard_menu_root"
action="open_board_my_dash_action" action="open_board_my_dash_action"
sequence="5"/> sequence="100"/>
</data> </data>
</odoo> </odoo>