diff --git a/website_gdpr/README.rst b/website_gdpr/README.rst deleted file mode 100755 index 60cc6c45c..000000000 --- a/website_gdpr/README.rst +++ /dev/null @@ -1,48 +0,0 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg - :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -Website GDPR In Odoo -==================== -user can see their personal information and can download - -Configuration -============= -- Additional configuration not required - -Company -------- -* `Cybrosys Techno Solutions `__ - -License -------- -General Public License, Version 3 (AGPL v3). -(https://www.gnu.org/licenses/agpl-3.0-standalone.html) - -Credits -------- -* Developer : (V16) Yadhukrishnan, - (V17) Safa Faheem PE, -Contact: odoo@cyrosys.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/website_gdpr/__init__.py b/website_gdpr/__init__.py deleted file mode 100755 index db9c02605..000000000 --- a/website_gdpr/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies(). -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -################################################################################ -from . import controllers -from . import models diff --git a/website_gdpr/__manifest__.py b/website_gdpr/__manifest__.py deleted file mode 100755 index c8c153c66..000000000 --- a/website_gdpr/__manifest__.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies(). -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -################################################################################ -{ - "name": "Website GDPR In Odoo", - "version": "17.0.1.0.0", - "category": "Website", - "summary": """General Data Protection Regulation is implemented On Odoo 17 - Enter-prise Edition.""", - "description": """This module allows customers to manage personal data and - information.customer have the access to download and delete their - information like names,emails, phone numbers, biometric information, - location data, financial data , etc""", - "author": "Cybrosys Techno Solutions", - "company": "Cybrosys Techno Solutions", - "maintainer": "Cybrosys Techno Solutions", - "website": "https://www.cybrosys.com", - "depends": ["website", "contacts"], - "data": [ - "security/ir.model.access.csv", - "views/gdpr_request_views.xml", - "views/gdpr_template_views.xml", - "views/gdpr_request_templates.xml", - "views/mail_templates.xml", - "report/gdpr_request_templates.xml", - "views/gdpr_request_report_views.xml", - ], - "assets": { - "web.assets_frontend": [ - "website_gdpr/static/src/js/gdpr_portal.js", - "website_gdpr/static/src/css/gdpr_portal.css", - ] - }, - "images": ["static/description/banner.jpg"], - "license": "AGPL-3", - "installable": True, - "auto_install": False, - "application": False, -} diff --git a/website_gdpr/controllers/__init__.py b/website_gdpr/controllers/__init__.py deleted file mode 100755 index b9f1bdda2..000000000 --- a/website_gdpr/controllers/__init__.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies(). -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -################################################################################ -from . import website_gdpr_odoo diff --git a/website_gdpr/controllers/website_gdpr_odoo.py b/website_gdpr/controllers/website_gdpr_odoo.py deleted file mode 100755 index 08cae3973..000000000 --- a/website_gdpr/controllers/website_gdpr_odoo.py +++ /dev/null @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies(). -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -################################################################################ -from odoo import http -from odoo.http import request - - -class WebsiteForm(http.Controller): - """ - The WebsiteForm class provides the data to the page when it's loaded. - Methods: - gdpr_data_management(self): - When the page is loaded passing the values related to the gdpr - template and requests. - Return a dict variable. - data_management_confirm(self,**kw): - Creating gdpr requests based the type of request and the user. - create_request_submit(self): - Opening the submit window. - request_delete_done(self): - Opening the deleted window. - request_canceled(self): - opening the cancelled window. - """ - - @http.route(['/my/data_management'], type='http', auth="user", - website=True) - def gdpr_data_management(self): - """ - Summary: - Transferring data to the frontend - Returns: - Type:dict , it contains the data for the opening window. - """ - return request.render("website_gdpr.gdpr_manager", { - 'values': [{'name': gdpr_template_id['name'], - 'description': gdpr_template_id['description'], - 'id': gdpr_template_id['id'], } for gdpr_template_id in - request.env['gdpr.template'].sudo().search_read([], - ['name', - 'description'])], - 'request_values': [{ - 'name': gdpr_request_id.req_name, - 'partner': gdpr_request_id.partner_id.name, - 'date': gdpr_request_id.create_date, - 'state': gdpr_request_id.state, - 'type': gdpr_request_id.req_type, - 'template': gdpr_request_id.template_id.name, - 'id': gdpr_request_id.id - } for gdpr_request_id in request.env['gdpr.request'].sudo().search( - [('partner_id', '=', request.env.user.partner_id.id)])], - }) - - @http.route(['/gdpr_management/confirm'], type='json', auth="public", - website=True) - def data_management_confirm(self, **kw): - """ - Summary: - Transferring data to the frontend - Arguments: - kw: dictionary - It contains selected template id user id. - """ - if kw.get('user_id'): - partner_id = request.env['res.users'].browse( - kw.get('user_id')).partner_id - request.env['gdpr.request'].sudo().create({ - 'req_name': f"{partner_id.name}'s {kw.get('type')} data", - 'partner_id': partner_id.id, - 'req_type': kw.get('type'), - 'state': 'pending', - 'template_id': kw.get('template_id') - }) - else: - request.redirect('/my/home') - - @http.route(['/gdpr_management/submit'], type='http', auth="user", - website=True) - def create_request_submit(self): - """ - Summary: - Opening submit window - """ - return request.render("website_gdpr.gdpr_submit") - - @http.route(['/gdpr_management/success/delete'], type='http', - auth="user", website=True) - def request_delete_done(self): - """ - Summary: - Opening delete window - """ - return request.render("website_gdpr.gdpr_delete_success") - - @http.route(['/gdpr_management/canceled'], type='http', auth="user", - website=True) - def request_canceled(self): - """ - Summary: - Opening cancel window - """ - return request.render("website_gdpr.gdpr_cancel_success") diff --git a/website_gdpr/doc/RELEASE_NOTES.md b/website_gdpr/doc/RELEASE_NOTES.md deleted file mode 100755 index 387d17c73..000000000 --- a/website_gdpr/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 01.02.2024 -#### Version 17.0.1.0.0 -##### ADD -- Initial Commit for Website GDPR In Odoo diff --git a/website_gdpr/models/__init__.py b/website_gdpr/models/__init__.py deleted file mode 100755 index 711f65234..000000000 --- a/website_gdpr/models/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies(). -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -################################################################################ -from . import gdpr_request -from . import gdpr_template diff --git a/website_gdpr/models/gdpr_request.py b/website_gdpr/models/gdpr_request.py deleted file mode 100755 index 147ffbc20..000000000 --- a/website_gdpr/models/gdpr_request.py +++ /dev/null @@ -1,157 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies(). -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -################################################################################ -import base64 -from odoo import api, fields, models - - -class GDPRRequest(models.Model): - """ - The GDPRRequest class fields and different methods are included. - Methods: - action_confirm_request(self): - For action confirm button change state to confirm. - action_delete_request(self,**kw): - For updating the values in 'res.partner'(deleting records). - action_cancel_request(self): - For action cancel button change state to cancel. - action_download_pdf(self): - For downloading the selected data. - create(self): - For getting overriding sequence number. - """ - _name = "gdpr.request" - _description = "GDPR Request" - - name = fields.Char(string="Serial Number", readonly=True, - copy=False, default='New', help="The serial number") - req_name = fields.Char(string="Name", help="Request Name") - partner_id = fields.Many2one('res.partner', string="Customer", - help="Specify the customer for the request.") - req_type = fields.Selection([ - ('download', 'Download Data'), - ('delete', 'Delete Data')], string="Request Type", - help="Please specify the type of request you want to make.") - state = fields.Selection([ - ('pending', 'Pending'), - ('cancel', 'Cancel'), - ('done', 'Done')], default="pending", help="State of the request") - template_id = fields.Many2one('gdpr.template', string="Template", - help="Selected Template") - - def action_confirm_request(self): - """ - Summary: - For action confirm - """ - self.write({'state': 'done'}) - self.action_send_email() - - def action_send_email(self): - """ - Summary: - For sending mail to the partner when the request is confirmed or - canceled - """ - state = "Confirmed" if self.state == "done" else "Cancelled" - email_values = { - 'email_to': self.partner_id.email, - 'content': "Your Gdpr Request " + self.name + " for " + - self.req_type + " data is " + state, - 'company': self.env.company.name, - } - mail_template = self.env.ref( - 'website_gdpr.gdpr_request_email_template') - mail_template.with_context(email_values).send_mail(self.id, - email_layout_xmlid='mail.mail_notification_light', - force_send=True) - - def action_delete_request(self): - """ - Summary: - For updating the values in 'res.partner'(deleting records) - """ - value_list = [partner_field.name for partner_field in - self.template_id.field_ids] - for value in value_list: - self.partner_id.write({ - value: False, - }) - self.write({'state': 'done'}) - - def action_cancel_request(self): - """ - Summary: - For action cancel - """ - self.write({'state': 'cancel'}) - self.action_send_email() - - def action_download_pdf(self, data): - """ - Summary: - For downloading the selected data - """ - value_list = [] - request_id = self.env['gdpr.request'].sudo().browse(data) - partner_fields = request_id.template_id.sudo().field_ids - partner_id = request_id.partner_id - for rec in partner_fields: - if rec.ttype == "many2one": - field_val = partner_id.mapped(rec.name).name - if field_val: - list_to_str = ' '.join([str(elem) for elem in field_val]) - else: - list_to_str = False - value_list.append({'data': list_to_str, - 'name': rec.field_description}) - else: - field_val = partner_id.mapped(rec.name) - list_to_str = ' '.join([str(elem) for elem in field_val]) - value_list.append({'data': list_to_str, - 'name': rec.field_description}) - values = { - 'name': partner_id.name, - 'value': value_list - } - pdf = self.env['ir.actions.report'].sudo()._render_qweb_pdf( - 'website_gdpr.action_pdf_download', request_id.id, data=values) - attachment = self.env['ir.attachment'].sudo().create({ - 'datas': base64.b64encode(pdf[0]), - 'name': "Data Download", - 'type': 'binary', - 'res_model': 'gdpr.request', - 'res_id': request_id.id, - 'public': True - }) - return { - 'url': f'/web/content/{attachment.id}?download=true&access_token=', - } - - @api.model - def create(self, vals): - """ - Summary: - For getting overriding sequence number - """ - if vals.get('name', 'New') == 'New': - vals['name'] = self.env['ir.sequence'].next_by_code( - 'request.sequence') or 'New' - return super(GDPRRequest, self).create(vals) diff --git a/website_gdpr/models/gdpr_template.py b/website_gdpr/models/gdpr_template.py deleted file mode 100755 index 663391489..000000000 --- a/website_gdpr/models/gdpr_template.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-TODAY Cybrosys Technologies(). -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -################################################################################ -from odoo import fields, models - - -class GDPRTemplate(models.Model): - """ - The GDPRTemplate class included fields and methode to archive. - Methods: - action_archive_template(self): - To archive the record. - """ - _name = "gdpr.template" - _description = "GDPR Template" - - name = fields.Char(string="Title", required=True, - help="Providing the name of the template") - description = fields.Html(string="Short Description", required=True, - help="Providing the description for the template") - active = fields.Boolean(default=True) - allow_messages = fields.Boolean(string="Allow Gdpr Message", default=True, - help="By enabling this an email will send " - "to the partner while confirming the " - "gdpr request") - field_ids = fields.Many2many('ir.model.fields', - domain="[('model', '=', 'res.partner')]", - string="Data Fields", - required=True, - help="select the fields to" - " visible to the customer") - - def action_archive_template(self): - """ - Summary: - To archive the record - """ - self.active = False diff --git a/website_gdpr/report/gdpr_request_templates.xml b/website_gdpr/report/gdpr_request_templates.xml deleted file mode 100644 index 425761f00..000000000 --- a/website_gdpr/report/gdpr_request_templates.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - diff --git a/website_gdpr/security/ir.model.access.csv b/website_gdpr/security/ir.model.access.csv deleted file mode 100755 index 9a652de3b..000000000 --- a/website_gdpr/security/ir.model.access.csv +++ /dev/null @@ -1,5 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -gdpr_request_group_website_designer,access.gdpr.request.designer,model_gdpr_request,website.group_website_designer,1,1,1,1 -gdpr_request_group_restricted_editor,access.gdpr.request.restricted.editor,model_gdpr_request,website.group_website_restricted_editor,1,0,0,0 -gdpr_template_group_website_designer,access.gdpr.template.designer,model_gdpr_template,website.group_website_designer,1,1,1,1 -gdpr_template_group_restricted_editor,access.gdpr.template.restricted.editor,model_gdpr_template,website.group_website_restricted_editor,1,0,0,0 diff --git a/website_gdpr/static/description/assets/icons/capture (1).png b/website_gdpr/static/description/assets/icons/capture (1).png deleted file mode 100644 index 8824deafc..000000000 Binary files a/website_gdpr/static/description/assets/icons/capture (1).png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/check.png b/website_gdpr/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/website_gdpr/static/description/assets/icons/check.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/chevron.png b/website_gdpr/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/website_gdpr/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/cogs.png b/website_gdpr/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/website_gdpr/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/consultation.png b/website_gdpr/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/website_gdpr/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/ecom-black.png b/website_gdpr/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/website_gdpr/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/education-black.png b/website_gdpr/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/website_gdpr/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/hotel-black.png b/website_gdpr/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/website_gdpr/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/img.png b/website_gdpr/static/description/assets/icons/img.png deleted file mode 100644 index 70197f477..000000000 Binary files a/website_gdpr/static/description/assets/icons/img.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/license.png b/website_gdpr/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/website_gdpr/static/description/assets/icons/license.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/lifebuoy.png b/website_gdpr/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/website_gdpr/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/manufacturing-black.png b/website_gdpr/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/website_gdpr/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/photo-capture.png b/website_gdpr/static/description/assets/icons/photo-capture.png deleted file mode 100644 index 06c111758..000000000 Binary files a/website_gdpr/static/description/assets/icons/photo-capture.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/pos-black.png b/website_gdpr/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/website_gdpr/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/puzzle.png b/website_gdpr/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/website_gdpr/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/restaurant-black.png b/website_gdpr/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/website_gdpr/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/service-black.png b/website_gdpr/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/website_gdpr/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/trading-black.png b/website_gdpr/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/website_gdpr/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/training.png b/website_gdpr/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/website_gdpr/static/description/assets/icons/training.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/update.png b/website_gdpr/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/website_gdpr/static/description/assets/icons/update.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/user.png b/website_gdpr/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/website_gdpr/static/description/assets/icons/user.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/icons/wrench.png b/website_gdpr/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/website_gdpr/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/misc/Cybrosys R.png b/website_gdpr/static/description/assets/misc/Cybrosys R.png deleted file mode 100644 index da4058087..000000000 Binary files a/website_gdpr/static/description/assets/misc/Cybrosys R.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/misc/email.svg b/website_gdpr/static/description/assets/misc/email.svg deleted file mode 100644 index 15291cdc3..000000000 --- a/website_gdpr/static/description/assets/misc/email.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/website_gdpr/static/description/assets/misc/phone.svg b/website_gdpr/static/description/assets/misc/phone.svg deleted file mode 100644 index b7bd7f251..000000000 --- a/website_gdpr/static/description/assets/misc/phone.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/website_gdpr/static/description/assets/misc/star (1) 2.svg b/website_gdpr/static/description/assets/misc/star (1) 2.svg deleted file mode 100644 index 5ae9f507a..000000000 --- a/website_gdpr/static/description/assets/misc/star (1) 2.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/website_gdpr/static/description/assets/misc/support (1) 1.svg b/website_gdpr/static/description/assets/misc/support (1) 1.svg deleted file mode 100644 index 7d37a8f30..000000000 --- a/website_gdpr/static/description/assets/misc/support (1) 1.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/website_gdpr/static/description/assets/misc/support-email.svg b/website_gdpr/static/description/assets/misc/support-email.svg deleted file mode 100644 index eb70370d6..000000000 --- a/website_gdpr/static/description/assets/misc/support-email.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/website_gdpr/static/description/assets/misc/tick-mark.svg b/website_gdpr/static/description/assets/misc/tick-mark.svg deleted file mode 100644 index 2dbb40187..000000000 --- a/website_gdpr/static/description/assets/misc/tick-mark.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/website_gdpr/static/description/assets/misc/whatsapp 1.svg b/website_gdpr/static/description/assets/misc/whatsapp 1.svg deleted file mode 100644 index 0bfaf8fc6..000000000 --- a/website_gdpr/static/description/assets/misc/whatsapp 1.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/website_gdpr/static/description/assets/misc/whatsapp.svg b/website_gdpr/static/description/assets/misc/whatsapp.svg deleted file mode 100644 index b618aea1d..000000000 --- a/website_gdpr/static/description/assets/misc/whatsapp.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/website_gdpr/static/description/assets/modules/1.jpg b/website_gdpr/static/description/assets/modules/1.jpg deleted file mode 100644 index 67c7f7062..000000000 Binary files a/website_gdpr/static/description/assets/modules/1.jpg and /dev/null differ diff --git a/website_gdpr/static/description/assets/modules/2.png b/website_gdpr/static/description/assets/modules/2.png deleted file mode 100644 index 3bedf7981..000000000 Binary files a/website_gdpr/static/description/assets/modules/2.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/modules/3.png b/website_gdpr/static/description/assets/modules/3.png deleted file mode 100644 index 164eb62c7..000000000 Binary files a/website_gdpr/static/description/assets/modules/3.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/modules/4.png b/website_gdpr/static/description/assets/modules/4.png deleted file mode 100644 index d246d83ac..000000000 Binary files a/website_gdpr/static/description/assets/modules/4.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/modules/5.jpg b/website_gdpr/static/description/assets/modules/5.jpg deleted file mode 100644 index 655cf38f5..000000000 Binary files a/website_gdpr/static/description/assets/modules/5.jpg and /dev/null differ diff --git a/website_gdpr/static/description/assets/modules/6.jpg b/website_gdpr/static/description/assets/modules/6.jpg deleted file mode 100644 index 1f3f2e27f..000000000 Binary files a/website_gdpr/static/description/assets/modules/6.jpg and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_01.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_01.png deleted file mode 100644 index faa130ea6..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_01.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_02.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_02.png deleted file mode 100644 index d9bce48f6..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_02.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_03.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_03.png deleted file mode 100644 index 4a52fca5c..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_03.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_04.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_04.png deleted file mode 100644 index f7ceca948..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_04.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_05.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_05.png deleted file mode 100644 index 96b82561e..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_05.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_06.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_06.png deleted file mode 100644 index 1b5072642..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_06.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_07.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_07.png deleted file mode 100644 index 1caa99cee..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_07.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_08.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_08.png deleted file mode 100644 index 502447ccb..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_08.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_09.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_09.png deleted file mode 100644 index 6cdc33c0b..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_09.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_10.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_10.png deleted file mode 100644 index 6ee4bbd9a..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_10.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_11.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_11.png deleted file mode 100644 index ad621f1b5..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_11.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_12.png b/website_gdpr/static/description/assets/screenshots/gdpr_odoo_12.png deleted file mode 100644 index 8bd695ee8..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/gdpr_odoo_12.png and /dev/null differ diff --git a/website_gdpr/static/description/assets/screenshots/hero.gif b/website_gdpr/static/description/assets/screenshots/hero.gif deleted file mode 100644 index 08c741544..000000000 Binary files a/website_gdpr/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/website_gdpr/static/description/banner.jpg b/website_gdpr/static/description/banner.jpg deleted file mode 100644 index ba5d139f0..000000000 Binary files a/website_gdpr/static/description/banner.jpg and /dev/null differ diff --git a/website_gdpr/static/description/icon.png b/website_gdpr/static/description/icon.png deleted file mode 100644 index b39eb6452..000000000 Binary files a/website_gdpr/static/description/icon.png and /dev/null differ diff --git a/website_gdpr/static/description/index.html b/website_gdpr/static/description/index.html deleted file mode 100644 index ff1a45bea..000000000 --- a/website_gdpr/static/description/index.html +++ /dev/null @@ -1,693 +0,0 @@ - - - - - - - Website GDPR In Odoo Index - - - - - - - - -
-
-
-
-
- -
-
-
- Community -
-
- Enterprise -
-
- Odoo.sh -
-
-
-
-
-
-

- Website GDPR In Odoo

-

- General Data Protection Regulation (GDPR) for odoo. -

-
- -
-
-
-
-
-

Key Highlights -

-
-
-
-
-
- -
-
-

Allow customer to access their data in your database.

-
-
-
-
-
-
- -
-
-

Customer can request their data for downloading.

-
-
-
-
-
-
- -
-
-

Customer can manage their personal data.

-
-
-
-
-
-
- -
-
-

Customer can request for removing their data.

-
-
-
-
-
-
- -
-
-
-
-
- -
-
-

- Under Website > Configuration > GDPR Template. -

-
-
-
-
-
-
- -
-
-

- Admin can create the GDPR Template. -

-
-
-
-
-
-
- -
-
-

- User need to open My Account section -

-
-
-
-
-
-
- -
-
-

- Then open the link "Manage your personal data". -

-
-
-
-
-
-
- -
-
-

- User can see all requests and templates. -

-
-
-
-
-
-
- -
-
-

- After clicking the button the request has been created in the backend. -

-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-

- Under Website > Configuration > GDPR Requests. -

-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-

- After clicking confirm user can download data from the website. -

-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-

- Also, user can remove their data by clicking delete button. -

-
-
-
-
-
-
-
    -
  • - Allow customer to access their data in your database. -
  • -
  • - Customer can request their data for downloading. -
  • -
  • - Customer can manage their personal data. -
  • -
  • - Customer can request for removing their data. -
  • -
-
-
-
-
-
-
Version - 17.0.1.0.0|Released on:01 Feb 2024 -
-

- - Initial commit for Website GDPR In Odoo.

-
-
-
-
-
-
-
-

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/website_gdpr/static/src/css/gdpr_portal.css b/website_gdpr/static/src/css/gdpr_portal.css deleted file mode 100755 index 6da694243..000000000 --- a/website_gdpr/static/src/css/gdpr_portal.css +++ /dev/null @@ -1,85 +0,0 @@ -.c-pill { - align-items: center; - font-family: "Open Sans", Arial, Verdana, sans-serif; - font-weight: bold; - font-size: 11px; - display: inline-block; - height: 100%; - white-space: nowrap; - width: auto; - position: relative; - border-radius: 100px; - line-height: 1; - overflow: hidden; - padding: 0px 12px 0px 20px; - text-overflow: ellipsis; - line-height: 1.25rem; - color: #fff; - word-break: break-word; -} -.c-pill--success { - background: #6BC167; -} -.c-pill--warning { - background: #ffc400; -} -.c-pill--danger { - background: #ff4436; -} -.card-gdpr:hover { - background-color: coral; -} -.table-gdpr { - font-family: arial, sans-serif; - border-collapse: collapse; - width: 100% -} -.th-gdpr { - background-color: #04AA6D; - color: white; -} -.td-gdpr, -.th-gdpr { - border: 2px solid #dddddd; - padding: 8px; -} -.gdpr-modal { - position: fixed; - left: 0; - top: 0; - width: 100%; - height: 100%; - background-color: rgba(0, 0, 0, 0.5); - opacity: 0; - visibility: hidden; - transform: scale(1.1); - transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s; -} -.gdpr-modal-content { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - background-color: white; - padding: 1rem 1.5rem; - width: 30rem; - border-radius: 0.5rem; -} -.gdpr-close-button { - float: right; - width: 1.5rem; - line-height: 1.5rem; - text-align: center; - cursor: pointer; - border-radius: 0.25rem; - background-color: lightgray; -} -.gdpr-close-button:hover { - background-color: darkgray; -} -.gdpr-show-modal { - opacity: 1; - visibility: visible; - transform: scale(1.0); - transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s; -} diff --git a/website_gdpr/static/src/js/gdpr_portal.js b/website_gdpr/static/src/js/gdpr_portal.js deleted file mode 100755 index a83c245d8..000000000 --- a/website_gdpr/static/src/js/gdpr_portal.js +++ /dev/null @@ -1,60 +0,0 @@ -/** @odoo-module */ - -import publicWidget from '@web/legacy/js/public/public_widget'; -import {session} from "@web/session"; -import { jsonrpc } from "@web/core/network/rpc_service"; - - -var Template = publicWidget.Widget.extend({ - selector: '.gdpr_portal_template', - events: { - 'click ._actionDelete': '_actionModalCloseAndOpen', - 'click ._actionDownload': '_onClickActionDownload', - 'click ._actionReqDownload': '_onClickActionReqDownload', - 'click .gdpr-close-button': '_actionModalCloseAndOpen', - 'click .gdpr-modal-confirm': '_onClickActionDelete', - }, - init() { - this._super(...arguments); - this.orm = this.bindService("orm"); - }, - /** - * Action to transfer data to create record type of delete - */ - _onClickActionDelete: function(ev) { - jsonrpc('/gdpr_management/confirm',{ - user_id: session.user_id, - template_id: this.template_id, - type: 'delete' - }) - }, - /** - * For opening and closing the modal - */ - _actionModalCloseAndOpen: function(ev) { - this.template_id = Number(ev.currentTarget.getAttribute("id")) - this.el.querySelector(".gdpr-modal").classList.toggle("gdpr-show-modal") - }, - /** - * Action to transfer data to create record type of download - */ - _onClickActionDownload: function(ev) { - jsonrpc('/gdpr_management/confirm',{ - user_id: session.user_id, - template_id: Number(ev.currentTarget.getAttribute("id")), - type: 'download' - }) - }, - /** - * Action to open window of the content to download - */ - _onClickActionReqDownload: function(ev) { - var req_id = Number(ev.currentTarget.getAttribute("id")) - this.orm.call('gdpr.request', 'action_download_pdf',[,req_id],{} - ).then(function(result) { - window.open(result['url']) - }); - } -}) -publicWidget.registry.gdpr_portal_template = Template; -return Template; diff --git a/website_gdpr/views/gdpr_request_report_views.xml b/website_gdpr/views/gdpr_request_report_views.xml deleted file mode 100755 index 13cb8b426..000000000 --- a/website_gdpr/views/gdpr_request_report_views.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - Download Data - gdpr.request - qweb-pdf - website_gdpr.download_template - website_gdpr.download_template - Download Data - - report - - diff --git a/website_gdpr/views/gdpr_request_templates.xml b/website_gdpr/views/gdpr_request_templates.xml deleted file mode 100755 index ed2354bf6..000000000 --- a/website_gdpr/views/gdpr_request_templates.xml +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - - - - - - - - diff --git a/website_gdpr/views/gdpr_request_views.xml b/website_gdpr/views/gdpr_request_views.xml deleted file mode 100755 index a5f092b42..000000000 --- a/website_gdpr/views/gdpr_request_views.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - gdpr.request.view.tree - gdpr.request - - - - - - - - - - - - - Request Sequence - request.sequence - GDPR - 6 - - - - gdpr.request.view.form - gdpr.request - -
-
-
- -

- -

- - - - - - - - - -
-
-
-
- - - GDPR Request - gdpr.request - tree,form - - - - - -
diff --git a/website_gdpr/views/gdpr_template_views.xml b/website_gdpr/views/gdpr_template_views.xml deleted file mode 100755 index 2cf7f7c50..000000000 --- a/website_gdpr/views/gdpr_template_views.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - gdpr.template.view.tree - gdpr.template - - - - - - - - - - - gdpr.template.view.form - gdpr.template - -
- -
-
- - - - - - - - -
-
-
-
- - - GDPR Template - gdpr.template - tree,form - - - -
diff --git a/website_gdpr/views/mail_templates.xml b/website_gdpr/views/mail_templates.xml deleted file mode 100644 index 28df7760f..000000000 --- a/website_gdpr/views/mail_templates.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - Gdpr Requests - - Your Gdpr Request Status - - -
-

- Hi, -
-
- -

-
- Regards, -
- -
- -
-
-