diff --git a/smart_alert_warning/README.rst b/smart_alert_warning/README.rst new file mode 100644 index 000000000..52ab15a82 --- /dev/null +++ b/smart_alert_warning/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Smart Alerts +============= +* Smart Alerts On Any Model Based on Different Conditions. + +Configuration +============= +* No additional configurations needed. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL-3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +* Developers: (V17) Ashwin A + (V16) Megha K +* Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/smart_alert_warning/__init__.py b/smart_alert_warning/__init__.py new file mode 100644 index 000000000..097bdb395 --- /dev/null +++ b/smart_alert_warning/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models diff --git a/smart_alert_warning/__manifest__.py b/smart_alert_warning/__manifest__.py new file mode 100644 index 000000000..1d948d854 --- /dev/null +++ b/smart_alert_warning/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Smart Alerts', + 'version': '17.0.1.0.0', + 'category': 'Extra Tools', + 'summary': 'Smart Alerts On Any Model Based on Different Conditions', + 'description': """ Admin Can create Alert configuration based on different conditions. + With different types of Alert""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base'], + 'data': [ + 'security/smart_alert_warning_groups.xml', + 'security/ir.model.access.csv', + 'views/alert_message_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/smart_alert_warning/doc/RELEASE_NOTES.md b/smart_alert_warning/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..d2b14d07d --- /dev/null +++ b/smart_alert_warning/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 06.02.2024 +#### Version 17.0.1.0.0 +##### ADD +- Initial Commit for Smart Alerts diff --git a/smart_alert_warning/models/__init__.py b/smart_alert_warning/models/__init__.py new file mode 100644 index 000000000..476dbda43 --- /dev/null +++ b/smart_alert_warning/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import alert_message diff --git a/smart_alert_warning/models/alert_message.py b/smart_alert_warning/models/alert_message.py new file mode 100644 index 000000000..bfd16637b --- /dev/null +++ b/smart_alert_warning/models/alert_message.py @@ -0,0 +1,162 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +import ast +from odoo import fields, models +from odoo.exceptions import UserError + + +class AlertMessage(models.Model): + """ Model for creating smart alert""" + _name = 'alert.message' + _description = 'Alert Message' + + name = fields.Char('name', required=True, help='Name') + document_type_id = fields.Many2one('ir.model', + string='Document Type', + help='Select the type of the Document', + required=False) + group_id = fields.Many2one('res.groups', string='Group', + help='Select the group which alert wanted to visible') + alert_messages = fields.Char('Alert Message', required=True, + help='Alert message that will show in the view.') + type = fields.Selection([('alert-primary', 'Alert Primary'), + ('alert-secondary', 'Alert Secondary'), + ('alert-success', 'Alert Success'), + ('alert-danger', 'Alert Danger'), + ('alert-warning', 'Alert Warning'), + ('alert-info', 'Alert Info')], + string='Type', + required=True, help='Type of alert message') + model_name = fields.Char(related="document_type_id.model", + string='Model Name', help='Model Name') + field_filter = fields.Char(string='Filter', + help='Set conditions for smart alerts', + default="[]") + view_id = fields.Many2one('ir.ui.view', string='View', + help='Select the view for smart alerts', + required=True, + domain='[("model", "=", model_name), ' + '("type", "=", "form")]') + new_view_id = fields.Many2one('ir.ui.view', + string="Created New view Id", + help='It will automatically create a view' + ' record while saving the form', + readonly=True) + state = fields.Selection( + [('draft', 'Draft'), ('done', 'Done'), ('cancelled', 'Cancelled')], + string='State', help='Different Stages', default="draft") + + def action_apply(self): + """creating a view according to the record""" + model = self.document_type_id + model_view = self.view_id + class_name = 'alert ' + self.type + xml_id = '' + if self.group_id.id: + xml_ids = self.group_id.get_external_id() + xml_id = xml_ids.get(self.group_id.id) + filter = ast.literal_eval(self.field_filter) + for i in range(len(filter)): + if filter[i] == '&': + filter[i] = '|' + elif filter[i] == '|': + filter[i] = '&' + else: + if filter[i][1] == '=': + filter_list = list(filter[i]) + filter_list[1] = '!=' + filter = f" {filter_list[0]} {filter_list[1]} '{filter_list[2]}'" + elif filter[i][1] == '!=': + filter_list = list(filter[i]) + filter_list[1] = '==' + filter = f" {filter_list[0]} {filter_list[1]} '{filter_list[2]}'" + elif filter[i][1] == '>': + filter_list = list(filter[i]) + filter_list[1] = '<' + filter = f" {filter_list[0]} {filter_list[1]} {filter_list[2]}" + elif filter[i][1] == '<': + filter_list = list(filter[i]) + filter_list[1] = '>' + filter = f" {filter_list[0]} {filter_list[1]} {filter_list[2]}" + elif filter[i][1] == '>=': + filter_list = list(filter[i]) + filter_list[1] = '<=' + filter = f" {filter_list[0]} {filter_list[1]} {filter_list[2]}" + elif filter[i][1] == '<=': + filter_list = list(filter[i]) + filter_list[1] = '>=' + filter = f" {filter_list[0]} {filter_list[1]} {filter_list[2]}" + elif filter[i][1] == 'ilike': + filter_list = list(filter[i]) + filter_list[1] = 'not in' + filter = f" {filter_list[0]} {filter_list[1]} ['{filter_list[2]}']" + elif filter[i][1] == 'not ilike': + filter_list = list(filter[i]) + filter_list[1] = 'in' + filter = f" {filter_list[0]} {filter_list[1]} ['{filter_list[2]}']" + elif filter[i][1] == 'in': + filter_list = list(filter[i]) + filter_list[1] = 'not in' + filter = f" {filter_list[0]} {filter_list[1]} {filter_list[2]}" + elif filter[i][1] == 'not in': + filter_list = list(filter[i]) + filter_list[1] = 'in' + filter = f" {filter_list[0]} {filter_list[1]} {filter_list[2]}" + + invisible_filter = str(filter).replace("'", '"') + if xml_id: + if invisible_filter != '[]': + arch = '' + '' + else: + arch = '' + '' + else: + if invisible_filter != '[]': + arch = '' + '' + else: + arch = '' + '' + + if model_view: + view_data = { + 'name': self.type + '.alert.' + model_view.name + '.' + str( + self.id), + 'type': 'form', + 'model': model.model, + 'priority': 1, + 'inherit_id': model_view.id, + 'mode': 'extension', + 'arch_base': arch.encode('utf-8') + } + try: + view = self.env["ir.ui.view"].create(view_data) + except: + raise UserError("Can't create a view based on this domain") + self.new_view_id = view + self.state = 'done' + + def action_cancel(self): + """cancel the alert message""" + self.state = 'cancelled' + self.new_view_id.unlink() + + def reset_draft(self): + """reset the record into the draft state""" + self.state = 'draft' diff --git a/smart_alert_warning/security/ir.model.access.csv b/smart_alert_warning/security/ir.model.access.csv new file mode 100644 index 000000000..b2483d832 --- /dev/null +++ b/smart_alert_warning/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_alert_message,alert.message,model_alert_message,smart_alert_warning.smart_alert_warning_group_admin,1,1,1,1 +access_alert_message_user,alert.message.user,model_alert_message,smart_alert_warning.smart_alert_warning_group_user,1,0,0,0 diff --git a/smart_alert_warning/security/smart_alert_warning_groups.xml b/smart_alert_warning/security/smart_alert_warning_groups.xml new file mode 100644 index 000000000..4a6a17f25 --- /dev/null +++ b/smart_alert_warning/security/smart_alert_warning_groups.xml @@ -0,0 +1,24 @@ + + + + + Smart Alert + Helps you to create customized alert + messages. + + 10 + + + + Smart Alert Warning: Admin + + + + + Smart Alert Warning: User + + + + + \ No newline at end of file diff --git a/smart_alert_warning/static/description/assets/icons/capture (1).png b/smart_alert_warning/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/capture (1).png differ diff --git a/smart_alert_warning/static/description/assets/icons/check.png b/smart_alert_warning/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/check.png differ diff --git a/smart_alert_warning/static/description/assets/icons/chevron.png b/smart_alert_warning/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/chevron.png differ diff --git a/smart_alert_warning/static/description/assets/icons/cogs.png b/smart_alert_warning/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/cogs.png differ diff --git a/smart_alert_warning/static/description/assets/icons/consultation.png b/smart_alert_warning/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/consultation.png differ diff --git a/smart_alert_warning/static/description/assets/icons/ecom-black.png b/smart_alert_warning/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/ecom-black.png differ diff --git a/smart_alert_warning/static/description/assets/icons/education-black.png b/smart_alert_warning/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/education-black.png differ diff --git a/smart_alert_warning/static/description/assets/icons/hotel-black.png b/smart_alert_warning/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/hotel-black.png differ diff --git a/smart_alert_warning/static/description/assets/icons/img.png b/smart_alert_warning/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/img.png differ diff --git a/smart_alert_warning/static/description/assets/icons/license.png b/smart_alert_warning/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/license.png differ diff --git a/smart_alert_warning/static/description/assets/icons/lifebuoy.png b/smart_alert_warning/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/lifebuoy.png differ diff --git a/smart_alert_warning/static/description/assets/icons/manufacturing-black.png b/smart_alert_warning/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/manufacturing-black.png differ diff --git a/smart_alert_warning/static/description/assets/icons/photo-capture.png b/smart_alert_warning/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/photo-capture.png differ diff --git a/smart_alert_warning/static/description/assets/icons/pos-black.png b/smart_alert_warning/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/pos-black.png differ diff --git a/smart_alert_warning/static/description/assets/icons/puzzle.png b/smart_alert_warning/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/puzzle.png differ diff --git a/smart_alert_warning/static/description/assets/icons/restaurant-black.png b/smart_alert_warning/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/restaurant-black.png differ diff --git a/smart_alert_warning/static/description/assets/icons/service-black.png b/smart_alert_warning/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/service-black.png differ diff --git a/smart_alert_warning/static/description/assets/icons/trading-black.png b/smart_alert_warning/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/trading-black.png differ diff --git a/smart_alert_warning/static/description/assets/icons/training.png b/smart_alert_warning/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/training.png differ diff --git a/smart_alert_warning/static/description/assets/icons/update.png b/smart_alert_warning/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/update.png differ diff --git a/smart_alert_warning/static/description/assets/icons/user.png b/smart_alert_warning/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/user.png differ diff --git a/smart_alert_warning/static/description/assets/icons/wrench.png b/smart_alert_warning/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/smart_alert_warning/static/description/assets/icons/wrench.png differ diff --git a/smart_alert_warning/static/description/assets/misc/Cybrosys R.png b/smart_alert_warning/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/Cybrosys R.png differ diff --git a/smart_alert_warning/static/description/assets/misc/categories.png b/smart_alert_warning/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/categories.png differ diff --git a/smart_alert_warning/static/description/assets/misc/check-box.png b/smart_alert_warning/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/check-box.png differ diff --git a/smart_alert_warning/static/description/assets/misc/compass.png b/smart_alert_warning/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/compass.png differ diff --git a/smart_alert_warning/static/description/assets/misc/corporate.png b/smart_alert_warning/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/corporate.png differ diff --git a/smart_alert_warning/static/description/assets/misc/customer-support.png b/smart_alert_warning/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/customer-support.png differ diff --git a/smart_alert_warning/static/description/assets/misc/cybrosys-logo.png b/smart_alert_warning/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/cybrosys-logo.png differ diff --git a/smart_alert_warning/static/description/assets/misc/email.svg b/smart_alert_warning/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/smart_alert_warning/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/smart_alert_warning/static/description/assets/misc/features.png b/smart_alert_warning/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/features.png differ diff --git a/smart_alert_warning/static/description/assets/misc/logo.png b/smart_alert_warning/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/logo.png differ diff --git a/smart_alert_warning/static/description/assets/misc/phone.svg b/smart_alert_warning/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/smart_alert_warning/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/smart_alert_warning/static/description/assets/misc/pictures.png b/smart_alert_warning/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/pictures.png differ diff --git a/smart_alert_warning/static/description/assets/misc/pie-chart.png b/smart_alert_warning/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/pie-chart.png differ diff --git a/smart_alert_warning/static/description/assets/misc/right-arrow.png b/smart_alert_warning/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/right-arrow.png differ diff --git a/smart_alert_warning/static/description/assets/misc/star (1) 2.svg b/smart_alert_warning/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/smart_alert_warning/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/smart_alert_warning/static/description/assets/misc/star.png b/smart_alert_warning/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/star.png differ diff --git a/smart_alert_warning/static/description/assets/misc/support (1) 1.svg b/smart_alert_warning/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/smart_alert_warning/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/smart_alert_warning/static/description/assets/misc/support-email.svg b/smart_alert_warning/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/smart_alert_warning/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/smart_alert_warning/static/description/assets/misc/support.png b/smart_alert_warning/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/support.png differ diff --git a/smart_alert_warning/static/description/assets/misc/tick-mark.svg b/smart_alert_warning/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/smart_alert_warning/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/smart_alert_warning/static/description/assets/misc/whatsapp 1.svg b/smart_alert_warning/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/smart_alert_warning/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/smart_alert_warning/static/description/assets/misc/whatsapp.png b/smart_alert_warning/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/smart_alert_warning/static/description/assets/misc/whatsapp.png differ diff --git a/smart_alert_warning/static/description/assets/misc/whatsapp.svg b/smart_alert_warning/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/smart_alert_warning/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/smart_alert_warning/static/description/assets/modules/1.png b/smart_alert_warning/static/description/assets/modules/1.png new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/smart_alert_warning/static/description/assets/modules/1.png differ diff --git a/smart_alert_warning/static/description/assets/modules/2.png b/smart_alert_warning/static/description/assets/modules/2.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/smart_alert_warning/static/description/assets/modules/2.png differ diff --git a/smart_alert_warning/static/description/assets/modules/3.png b/smart_alert_warning/static/description/assets/modules/3.png new file mode 100644 index 000000000..164eb62c7 Binary files /dev/null and b/smart_alert_warning/static/description/assets/modules/3.png differ diff --git a/smart_alert_warning/static/description/assets/modules/4.png b/smart_alert_warning/static/description/assets/modules/4.png new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/smart_alert_warning/static/description/assets/modules/4.png differ diff --git a/smart_alert_warning/static/description/assets/modules/5.png b/smart_alert_warning/static/description/assets/modules/5.png new file mode 100644 index 000000000..5bf8e7b03 Binary files /dev/null and b/smart_alert_warning/static/description/assets/modules/5.png differ diff --git a/smart_alert_warning/static/description/assets/modules/6.png b/smart_alert_warning/static/description/assets/modules/6.png new file mode 100644 index 000000000..655cf38f5 Binary files /dev/null and b/smart_alert_warning/static/description/assets/modules/6.png differ diff --git a/smart_alert_warning/static/description/assets/screenshots/1.png b/smart_alert_warning/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..a9bf540e7 Binary files /dev/null and b/smart_alert_warning/static/description/assets/screenshots/1.png differ diff --git a/smart_alert_warning/static/description/assets/screenshots/2.png b/smart_alert_warning/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..13865616b Binary files /dev/null and b/smart_alert_warning/static/description/assets/screenshots/2.png differ diff --git a/smart_alert_warning/static/description/assets/screenshots/3.png b/smart_alert_warning/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..5f937cb2f Binary files /dev/null and b/smart_alert_warning/static/description/assets/screenshots/3.png differ diff --git a/smart_alert_warning/static/description/assets/screenshots/4.png b/smart_alert_warning/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..09db7f328 Binary files /dev/null and b/smart_alert_warning/static/description/assets/screenshots/4.png differ diff --git a/smart_alert_warning/static/description/assets/screenshots/5.png b/smart_alert_warning/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..f0f4e6d37 Binary files /dev/null and b/smart_alert_warning/static/description/assets/screenshots/5.png differ diff --git a/smart_alert_warning/static/description/assets/screenshots/6.png b/smart_alert_warning/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..6448e1ecd Binary files /dev/null and b/smart_alert_warning/static/description/assets/screenshots/6.png differ diff --git a/smart_alert_warning/static/description/assets/screenshots/7.png b/smart_alert_warning/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..21670236f Binary files /dev/null and b/smart_alert_warning/static/description/assets/screenshots/7.png differ diff --git a/smart_alert_warning/static/description/assets/screenshots/hero.png b/smart_alert_warning/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..be0026166 Binary files /dev/null and b/smart_alert_warning/static/description/assets/screenshots/hero.png differ diff --git a/smart_alert_warning/static/description/banner.jpg b/smart_alert_warning/static/description/banner.jpg new file mode 100644 index 000000000..f6de34c51 Binary files /dev/null and b/smart_alert_warning/static/description/banner.jpg differ diff --git a/smart_alert_warning/static/description/icon.png b/smart_alert_warning/static/description/icon.png new file mode 100644 index 000000000..d1bbe92ad Binary files /dev/null and b/smart_alert_warning/static/description/icon.png differ diff --git a/smart_alert_warning/static/description/index.html b/smart_alert_warning/static/description/index.html new file mode 100644 index 000000000..2d5f34561 --- /dev/null +++ b/smart_alert_warning/static/description/index.html @@ -0,0 +1,787 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+
+
+
+
+

+ Smart Alerts

+

+ Smart Alerts On Any Model Based on Different Conditions +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Alert for any document type

+
+
+
+
+
+
+ +
+
+

+ General and Specific Alerts

+
+
+
+
+
+
+ +
+
+

+ Different Alert style

+
+
+
+
+
+
+ +
+
+

+ Secured Alerts

+
+
+
+
+
+
+ +
+
+
+
+
+

+ User Configuration

+

+ Settings -> Users -> Access Rights -> Smart Alerts Warning: Admin
+ Only Smart Alerts Warning: Admin Can create and manage the smart alerts.
+ Only Smart Alerts Warning: User can View the created records +

+
+
+ +
+
+
+
+
+
+

+ Alert Configuration

+

+ Create a new alert record and click the apply button. +

+
+
+ +
+
+
+
+
+
+

+ Alert Message

+

+ We can view the alert message for its corresponding record. +

+
+
+ +
+
+
+
+
+
+

+ Alert Configuration

+
+
+ +
+
+
+
+
+
+

+ Alert Message

+
+
+ +
+
+
+
+
+
+

+ Alert Configuration

+
+
+ +
+
+
+
+
+
+

+ Alert Message

+
+
+ +
+
+
+
+
+
+
    +
  • + Alert for any document type +
  • +
  • + General and specific alerts +
  • +
  • + Different Alert style +
  • +
  • + Secured Alerts +
  • +
  • + Community & Enterprise Support +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on: 6th February 2024 +
+

+ + Initial Commit for Smart Alerts.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/smart_alert_warning/views/alert_message_views.xml b/smart_alert_warning/views/alert_message_views.xml new file mode 100644 index 000000000..f363aecd8 --- /dev/null +++ b/smart_alert_warning/views/alert_message_views.xml @@ -0,0 +1,86 @@ + + + + + alert.message.view.form + alert.message + +
+
+ +
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + alert.message.view.tree + alert.message + + + + + + + + + + + Alert Message + alert.message + tree,form + + + + + +
\ No newline at end of file