diff --git a/odoo_dynamic_dashboard/models/dashboard_block.py b/odoo_dynamic_dashboard/models/dashboard_block.py index 3a0656e82..60595f2d9 100644 --- a/odoo_dynamic_dashboard/models/dashboard_block.py +++ b/odoo_dynamic_dashboard/models/dashboard_block.py @@ -94,6 +94,12 @@ class DashboardBlock(models.Model): block_id = [] for rec in self.env['dashboard.block'].sudo().search( [('client_action', '=', int(action_id))]): + if rec.filter is False: + rec.filter = "[]" + filter_list = literal_eval(rec.filter) + filter_list = [filter_item for filter_item in filter_list if not ( + isinstance(filter_item, tuple) and filter_item[ + 0] == 'create_date')] vals = { 'id': rec.id, 'name': rec.name, @@ -109,7 +115,8 @@ class DashboardBlock(models.Model): 'measured_field': rec.measured_field.field_description if rec.measured_field else None, 'y_field': rec.measured_field.name, 'x_field': rec.group_by.name, - 'operation': rec.operation + 'operation': rec.operation, + 'domain': filter_list } domain = [] if rec.filter: diff --git a/odoo_dynamic_dashboard/static/description/assets/cybro-icon.png b/odoo_dynamic_dashboard/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/cybro-icon.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/cybro-odoo.png b/odoo_dynamic_dashboard/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/cybro-odoo.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/h2.png b/odoo_dynamic_dashboard/static/description/assets/h2.png new file mode 100644 index 000000000..0bfc4707d Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/h2.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/capture (1).png b/odoo_dynamic_dashboard/static/description/assets/icons/capture (1).png deleted file mode 100644 index 8824deafc..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/icons/capture (1).png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/down.svg b/odoo_dynamic_dashboard/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/odoo_dynamic_dashboard/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/faq.png b/odoo_dynamic_dashboard/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/faq.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/feature.png b/odoo_dynamic_dashboard/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/feature.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/img.png b/odoo_dynamic_dashboard/static/description/assets/icons/img.png deleted file mode 100644 index 70197f477..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/icons/img.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/notes.png b/odoo_dynamic_dashboard/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/notes.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/photo-capture.png b/odoo_dynamic_dashboard/static/description/assets/icons/photo-capture.png deleted file mode 100644 index 06c111758..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/icons/photo-capture.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/screenshot.png b/odoo_dynamic_dashboard/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/screenshot.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/skype.png b/odoo_dynamic_dashboard/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/skype.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/star-1.svg b/odoo_dynamic_dashboard/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/odoo_dynamic_dashboard/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/star (1) 2.svg b/odoo_dynamic_dashboard/static/description/assets/icons/star-2.svg similarity index 100% rename from odoo_dynamic_dashboard/static/description/assets/misc/star (1) 2.svg rename to odoo_dynamic_dashboard/static/description/assets/icons/star-2.svg diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/support.png b/odoo_dynamic_dashboard/static/description/assets/icons/support.png similarity index 100% rename from odoo_dynamic_dashboard/static/description/assets/misc/support.png rename to odoo_dynamic_dashboard/static/description/assets/icons/support.png diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/test-1 - Copy.png b/odoo_dynamic_dashboard/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/test-1 - Copy.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/test-1.png b/odoo_dynamic_dashboard/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/test-1.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/test-2.png b/odoo_dynamic_dashboard/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/test-2.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/icons/video.png b/odoo_dynamic_dashboard/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/icons/video.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/whatsapp.png b/odoo_dynamic_dashboard/static/description/assets/icons/whatsapp.png similarity index 100% rename from odoo_dynamic_dashboard/static/description/assets/misc/whatsapp.png rename to odoo_dynamic_dashboard/static/description/assets/icons/whatsapp.png diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/Cybrosys R.png b/odoo_dynamic_dashboard/static/description/assets/misc/Cybrosys R.png deleted file mode 100644 index da4058087..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/Cybrosys R.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/categories.png b/odoo_dynamic_dashboard/static/description/assets/misc/categories.png deleted file mode 100644 index bedf1e0b1..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/categories.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/check-box.png b/odoo_dynamic_dashboard/static/description/assets/misc/check-box.png deleted file mode 100644 index 42caf24b9..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/check-box.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/compass.png b/odoo_dynamic_dashboard/static/description/assets/misc/compass.png deleted file mode 100644 index d5fed8faa..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/compass.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/corporate.png b/odoo_dynamic_dashboard/static/description/assets/misc/corporate.png deleted file mode 100644 index 2eb13edbf..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/corporate.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/customer-support.png b/odoo_dynamic_dashboard/static/description/assets/misc/customer-support.png deleted file mode 100644 index 79efc72ed..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/customer-support.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/cybrosys-logo.png b/odoo_dynamic_dashboard/static/description/assets/misc/cybrosys-logo.png deleted file mode 100644 index cc3cc0ccf..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/cybrosys-logo.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/email.svg b/odoo_dynamic_dashboard/static/description/assets/misc/email.svg deleted file mode 100644 index 15291cdc3..000000000 --- a/odoo_dynamic_dashboard/static/description/assets/misc/email.svg +++ /dev/null @@ -1,33 +0,0 @@ - diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/features.png b/odoo_dynamic_dashboard/static/description/assets/misc/features.png deleted file mode 100644 index b41769f77..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/features.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/logo.png b/odoo_dynamic_dashboard/static/description/assets/misc/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/logo.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/phone.svg b/odoo_dynamic_dashboard/static/description/assets/misc/phone.svg deleted file mode 100644 index b7bd7f251..000000000 --- a/odoo_dynamic_dashboard/static/description/assets/misc/phone.svg +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/pictures.png b/odoo_dynamic_dashboard/static/description/assets/misc/pictures.png deleted file mode 100644 index 56d255fe9..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/pictures.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/pie-chart.png b/odoo_dynamic_dashboard/static/description/assets/misc/pie-chart.png deleted file mode 100644 index 426e05244..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/pie-chart.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/right-arrow.png b/odoo_dynamic_dashboard/static/description/assets/misc/right-arrow.png deleted file mode 100644 index 730984a06..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/right-arrow.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/star.png b/odoo_dynamic_dashboard/static/description/assets/misc/star.png deleted file mode 100644 index 2eb9ab29f..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/misc/star.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/support (1) 1.svg b/odoo_dynamic_dashboard/static/description/assets/misc/support (1) 1.svg deleted file mode 100644 index 7d37a8f30..000000000 --- a/odoo_dynamic_dashboard/static/description/assets/misc/support (1) 1.svg +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/support-email.svg b/odoo_dynamic_dashboard/static/description/assets/misc/support-email.svg deleted file mode 100644 index eb70370d6..000000000 --- a/odoo_dynamic_dashboard/static/description/assets/misc/support-email.svg +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/tick-mark.svg b/odoo_dynamic_dashboard/static/description/assets/misc/tick-mark.svg deleted file mode 100644 index 2dbb40187..000000000 --- a/odoo_dynamic_dashboard/static/description/assets/misc/tick-mark.svg +++ /dev/null @@ -1,17 +0,0 @@ - diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/whatsapp 1.svg b/odoo_dynamic_dashboard/static/description/assets/misc/whatsapp 1.svg deleted file mode 100644 index 0bfaf8fc6..000000000 --- a/odoo_dynamic_dashboard/static/description/assets/misc/whatsapp 1.svg +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/odoo_dynamic_dashboard/static/description/assets/misc/whatsapp.svg b/odoo_dynamic_dashboard/static/description/assets/misc/whatsapp.svg deleted file mode 100644 index b618aea1d..000000000 --- a/odoo_dynamic_dashboard/static/description/assets/misc/whatsapp.svg +++ /dev/null @@ -1,33 +0,0 @@ - diff --git a/odoo_dynamic_dashboard/static/description/assets/modules/1.png b/odoo_dynamic_dashboard/static/description/assets/modules/1.gif similarity index 100% rename from odoo_dynamic_dashboard/static/description/assets/modules/1.png rename to odoo_dynamic_dashboard/static/description/assets/modules/1.gif diff --git a/odoo_dynamic_dashboard/static/description/assets/modules/2.jpg b/odoo_dynamic_dashboard/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..a1dc39c89 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/modules/2.jpg differ diff --git a/odoo_dynamic_dashboard/static/description/assets/modules/2.png b/odoo_dynamic_dashboard/static/description/assets/modules/2.png deleted file mode 100644 index d6b1fe049..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/modules/2.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/modules/4.png b/odoo_dynamic_dashboard/static/description/assets/modules/4.png index 5141a7802..3bedf7981 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/modules/4.png and b/odoo_dynamic_dashboard/static/description/assets/modules/4.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/modules/5.png b/odoo_dynamic_dashboard/static/description/assets/modules/5.png index 469963f22..0e311ca87 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/modules/5.png and b/odoo_dynamic_dashboard/static/description/assets/modules/5.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/modules/6.jpg b/odoo_dynamic_dashboard/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/modules/6.jpg differ diff --git a/odoo_dynamic_dashboard/static/description/assets/modules/6.png b/odoo_dynamic_dashboard/static/description/assets/modules/6.png deleted file mode 100644 index 7cdd530f0..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/modules/6.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/1.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/1.png index 1abf4d2ed..f78d925dc 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/screenshots/1.png and b/odoo_dynamic_dashboard/static/description/assets/screenshots/1.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/10.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..d4a8f6dde Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/screenshots/10.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/11.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..23fedfae9 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/screenshots/11.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/2.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/2.png index 05be2b949..e9fc46be6 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/screenshots/2.png and b/odoo_dynamic_dashboard/static/description/assets/screenshots/2.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/3.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/3.png index 84df91179..dfc002cb9 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/screenshots/3.png and b/odoo_dynamic_dashboard/static/description/assets/screenshots/3.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/4.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/4.png index 1c74a33f3..3781835ff 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/screenshots/4.png and b/odoo_dynamic_dashboard/static/description/assets/screenshots/4.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/5.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/5.png index a6c309e52..37419b56b 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/screenshots/5.png and b/odoo_dynamic_dashboard/static/description/assets/screenshots/5.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/6.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/6.png index 49646b53b..2893f15ed 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/screenshots/6.png and b/odoo_dynamic_dashboard/static/description/assets/screenshots/6.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/7.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/7.png index 65bbebc8f..b25df5281 100644 Binary files a/odoo_dynamic_dashboard/static/description/assets/screenshots/7.png and b/odoo_dynamic_dashboard/static/description/assets/screenshots/7.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/8.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..e7699fcee Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/screenshots/8.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/9.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..0ed177599 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/screenshots/9.png differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/hero.gif b/odoo_dynamic_dashboard/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..f939a4599 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/screenshots/hero.gif differ diff --git a/odoo_dynamic_dashboard/static/description/assets/screenshots/hero.png b/odoo_dynamic_dashboard/static/description/assets/screenshots/hero.png deleted file mode 100644 index 946ae80b8..000000000 Binary files a/odoo_dynamic_dashboard/static/description/assets/screenshots/hero.png and /dev/null differ diff --git a/odoo_dynamic_dashboard/static/description/assets/y18.jpg b/odoo_dynamic_dashboard/static/description/assets/y18.jpg new file mode 100644 index 000000000..eea1714f2 Binary files /dev/null and b/odoo_dynamic_dashboard/static/description/assets/y18.jpg differ diff --git a/odoo_dynamic_dashboard/static/description/index.html b/odoo_dynamic_dashboard/static/description/index.html index 46aeabc17..abffe7005 100644 --- a/odoo_dynamic_dashboard/static/description/index.html +++ b/odoo_dynamic_dashboard/static/description/index.html @@ -1,777 +1,1164 @@ - + +
+ -+ Advanced Dashboard Module For Odoo17
- Advanced Dashboard Module For Odoo17 -
-+ Dynamically Arrange the dashboard to get the information that + are relevant to your business, department, or a specific process + or need. +
- Key Highlights -
-- Dynamic Dashboard -
+- Tile Configurations -
+- Chart Configurations -
+- Dynamic Menu Creation -
++ Odoo Dynamic Dashboard
++ The tiled view of the records in Odoo is also + clickable; when you click on a record, you will be + directed to the records tree view. +
++ The chart view of the records in Odoo is provided in + the dashboard based on the filtering.
++ When you click the 'Add Block' button on the + dashboard, a new empty tile block will be added. You + can configure this tile block using the button in + the top right corner. You can also use this button + to edit existing tile blocks.
+You will + then be redirected to the form view to configure the + tile block. Here, you can add a name to the tile and + specify the model from which records should be + displayed. You can choose an operation—such as sum, + count, or average—to be performed on the data shown + in the field on the dashboard. Additionally, you can + add a measurement field to determine the value + displayed in the tile. There is also an option to + set a filter, which will dictate the data shown in + the tile. Finally, in the tile information section, + you can set the tile type, tile icon, icon color, + tile color, and text color. +
++ Click the 'Add Graph' button to add a new block. + From here, you can click the configuration button in + the top right corner to make the necessary + configurations for the chart.
++ From here, you will be redirected to the form view + to configure the chart. You can set the name, + operation, measurement field, and filter, similar to + the tile block. However, in the block information + section for the chart, you have additional options + to set the block type, chart type, chart size, and + the reference field to display in the charts. +
++ By clicking on the 'Blocks' menu from the Dashboard + module, you can see the blocks created in the + dashboard. From here, you can configure, delete, or + create new dashboard blocks. +
++ From the configuration menu, select 'Dashboards' to + view the dynamic dashboards that have been created. + Here, you can create, remove, or edit dynamic + dashboards. To create a new dynamic dashboard, click + the 'NEW' button. +
++ This is the form view for configuring the dynamic + dashboard. Here, you can set the name of the + dashboard menu and specify the parent menu under + which this dashboard menu should appear. +
++ From the parent menu, you can see that the new + dynamic dashboard has been created as specified in + the configuration. +
++ Comprehensive Features of ADVANCED DYNAMIC + DASHBOARD
+Version 17.0.1 I Released + on : 11th May 2024 +
+Initial commit for + odoo_dynamic_dashboard
+- Initial Commit for Odoo Dynamic Dashboard.
-- Related Products
+Explore our related modules
+