Browse Source

Jan 04 [UPDT] : Updated 'odoo_dynamic_dashboard'

pull/358/merge
AjmalCybro 4 months ago
parent
commit
eb4f15783d
  1. 4
      odoo_dynamic_dashboard/__manifest__.py
  2. 5
      odoo_dynamic_dashboard/doc/RELEASE_NOTES.md
  3. 2
      odoo_dynamic_dashboard/models/dashboard_menu.py
  4. 18
      odoo_dynamic_dashboard/static/src/css/dynamic_dashboard.css
  5. 4
      odoo_dynamic_dashboard/static/src/js/interact_min.js

4
odoo_dynamic_dashboard/__manifest__.py

@ -21,7 +21,7 @@
################################################################################ ################################################################################
{ {
'name': "Odoo Dynamic Dashboard", 'name': "Odoo Dynamic Dashboard",
'version': '18.0.1.0.0', 'version': '18.0.1.0.1',
'category': 'Productivity', 'category': 'Productivity',
'summary': """Odoo Dynamic Dashboard, Dynamic Dashboard, Odoo18, Odoo18 Dashboards, Dashboard with AI, AI Dashboard, Odoo Dashboard,Graph View,""", 'summary': """Odoo Dynamic Dashboard, Dynamic Dashboard, Odoo18, Odoo18 Dashboards, Dashboard with AI, AI Dashboard, Odoo Dashboard,Graph View,""",
'description': """Create Configurable Odoo Dynamic Dashboard to get the 'description': """Create Configurable Odoo Dynamic Dashboard to get the
@ -50,7 +50,7 @@
'odoo_dynamic_dashboard/static/src/js/**/*.js', 'odoo_dynamic_dashboard/static/src/js/**/*.js',
'odoo_dynamic_dashboard/static/src/xml/**/*.xml', 'odoo_dynamic_dashboard/static/src/xml/**/*.xml',
'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css', 'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css',
'odoo_dynamic_dashboard/static/lib/js/interactjs.js', 'odoo_dynamic_dashboard/static/src/js/interact_min.js'
], ],
}, },
'images': ['static/description/banner.gif'], 'images': ['static/description/banner.gif'],

5
odoo_dynamic_dashboard/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 18.0.1.0.0 #### Version 18.0.1.0.0
##### ADD ##### ADD
- Initial commit for Odoo Dynamic Dashboard - Initial commit for Odoo Dynamic Dashboard
#### 03.01.2025
#### Version 18.0.1.0.1
##### FIX
- Updated issue related to the cdn used and updated the style issue

2
odoo_dynamic_dashboard/models/dashboard_menu.py

@ -41,7 +41,7 @@ class DashboardMenu(models.Model):
help="Client action of the " help="Client action of the "
"corresponding dashboard menu") "corresponding dashboard menu")
@api.model @api.model_create_multi
def create(self, vals): def create(self, vals):
"""Function to create new dashboard menu""" """Function to create new dashboard menu"""
action_id = self.env['ir.actions.client'].create([{ action_id = self.env['ir.actions.client'].create([{

18
odoo_dynamic_dashboard/static/src/css/dynamic_dashboard.css

@ -1,6 +1,4 @@
.row {
margin: 1rem;
}
.resize-drag { .resize-drag {
border-radius: 8px; border-radius: 8px;
padding: 20px; padding: 20px;
@ -8,7 +6,6 @@
color: white; color: white;
font-size: 20px; font-size: 20px;
font-family: sans-serif; font-family: sans-serif;
touch-action: none; touch-action: none;
box-sizing: border-box; box-sizing: border-box;
} }
@ -69,7 +66,9 @@ div.card-header {
background-color: #70659647 !important; background-color: #70659647 !important;
} }
/* The toggle-btn - the box around the slider */
/** The toggle-btn - the box around the slider **/
.layout-switch { .layout-switch {
font-size: 15px; font-size: 15px;
position: absolute; position: absolute;
@ -167,6 +166,9 @@ div.card-header {
font-size: 15px; font-size: 15px;
} }
.chart-setting { .chart-setting {
position: absolute; position: absolute;
top: 0px; top: 0px;
@ -193,6 +195,8 @@ input:checked + .slider:before {
} }
/* Rounded sliders */ /* Rounded sliders */
.slider.round { .slider.round {
border-radius: 34px; border-radius: 34px;
margin: -1px 6px 11px 0; margin: -1px 6px 11px 0;
@ -202,10 +206,6 @@ input:checked + .slider:before {
border-radius: 50%; border-radius: 50%;
} }
.o_kanban_record {
background-color: #e8e8e8 !important;
}
.oe_module_name { .oe_module_name {
background-color: #ffffff !important; background-color: #ffffff !important;
} }

4
odoo_dynamic_dashboard/static/src/js/interact_min.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save