diff --git a/website_signup_approval/README.rst b/website_signup_approval/README.rst new file mode 100755 index 000000000..8a2130207 --- /dev/null +++ b/website_signup_approval/README.rst @@ -0,0 +1,42 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Website Signup Approval +======================= +This module approve or reject signup approval request of users from website. + +Installation +============ +- www.odoo.com/documentation/18.0/setup/install.html +- Install our custom addon + +License +------- +General Public License, Version 3 (LGPL-3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: (V18) Safa KB, Contact: odoo@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_signup_approval/__init__.py b/website_signup_approval/__init__.py new file mode 100755 index 000000000..cf5c341e2 --- /dev/null +++ b/website_signup_approval/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 controllers +from . import models diff --git a/website_signup_approval/__manifest__.py b/website_signup_approval/__manifest__.py new file mode 100755 index 000000000..8bff0edfa --- /dev/null +++ b/website_signup_approval/__manifest__.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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': "Website Signup Approval", + 'version': '18.0.1.0.0', + 'category': 'Website', + 'summary': 'Approve signup request to login to the website', + 'description': """This module approve or reject signup approval request of + users from website.User can upload their documents for approval.""", + 'author': "Cybrosys Techno Solutions", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['website_sale'], + 'data': [ + 'security/website_signup_approval_groups.xml', + 'security/ir.model.access.csv', + 'data/website_signup_approval_data.xml', + 'views/res_users_approve_views.xml', + 'views/res_config_settings_views.xml', + 'views/signup_templates.xml', + 'views/document_attachment_views.xml', + 'views/approval_request_templates.xml' + ], + 'assets': { + 'web.assets_frontend': [ + 'website_signup_approval/static/src/js/signup.js' + ], + }, + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/website_signup_approval/controllers/__init__.py b/website_signup_approval/controllers/__init__.py new file mode 100755 index 000000000..44678754e --- /dev/null +++ b/website_signup_approval/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 website_signup_approval diff --git a/website_signup_approval/controllers/website_signup_approval.py b/website_signup_approval/controllers/website_signup_approval.py new file mode 100755 index 000000000..3f2844034 --- /dev/null +++ b/website_signup_approval/controllers/website_signup_approval.py @@ -0,0 +1,138 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 logging +import werkzeug +from werkzeug.urls import url_encode +from odoo import http, _ +from odoo.exceptions import UserError +from odoo.http import request +from odoo.addons.auth_signup.models.res_users import SignupError +from odoo.addons.web.controllers.home import ensure_db, Home, \ + SIGN_UP_REQUEST_PARAMS, LOGIN_SUCCESSFUL_PARAMS + +_logger = logging.getLogger(__name__) +LOGIN_SUCCESSFUL_PARAMS.add('account_created') + + +class AuthSignupHome(Home): + """Portal user login""" + @http.route() + def web_login(self, *args, **kw): + """Function have login features""" + response = super().web_login(*args, **kw) + if response.qcontext and response.qcontext.get('login', False): + inactive_user = request.env['res.users.approve'].sudo().search( + [('email', '=', response.qcontext.get('login')), + ('for_approval_menu', '=', False)]) + if inactive_user: + response.qcontext["error"] = _( + "You can login only after your login get approved..!") + return response + + @http.route('/web/signup', type='http', auth='public', website=True, + sitemap=False) + def web_auth_signup(self, *args, **kw): + """Function have signup features""" + qcontext = self.get_auth_signup_qcontext() + values = {k: v for k, v in request.params.items() if + k in SIGN_UP_REQUEST_PARAMS} + signup_approval = request.env['ir.config_parameter'].sudo().get_param( + 'website_signup_approval.auth_signup_approval') + if values: + if signup_approval: + return request.redirect('/success') + if not qcontext.get('token') and not qcontext.get('signup_enabled'): + raise werkzeug.exceptions.NotFound() + if 'error' not in qcontext and request.httprequest.method == 'POST': + try: + self.do_signup(qcontext) + if qcontext.get('token'): + user = request.env['res.users'] + user_sudo = user.sudo().search( + user._get_login_domain(qcontext.get('login')), + order=user._get_login_order(), limit=1 + ) + template = request.env.ref( + 'auth_signup.mail_template_user_signup_account_created', + raise_if_not_found=False) + if user_sudo and template: + template.sudo().send_mail(user_sudo.id, + force_send=True) + return self.web_login(*args, **kw) + except UserError as e: + qcontext['error'] = e.args[0] + except (SignupError, AssertionError) as e: + if request.env["res.users"].sudo().search( + [("login", "=", qcontext.get("login"))]): + qcontext["error"] = _( + "Another user is already registered using this email " + "address.") + else: + _logger.error("%s", e) + qcontext['error'] = _("Could not create a new account.") + elif 'signup_email' in qcontext: + user = request.env['res.users'].sudo().search( + [('email', '=', qcontext.get('signup_email')), + ('state', '!=', 'new')], limit=1) + if user: + return request.redirect('/web/login?%s' % url_encode( + {'login': user.login, 'redirect': '/web'})) + response = request.render('auth_signup.signup', qcontext) + response.headers['X-Frame-Options'] = 'SAMEORIGIN' + response.headers['Content-Security-Policy'] = "frame-ancestors 'self'" + return response + + @http.route('/success', type='http', auth='public', website=True, + sitemap=False) + def approval_success(self): + """Create approval request success form""" + return request.render("website_signup_approval.approval_form_success") + + +class SignUpApproveController(http.Controller): + """Manage Approval Request in Backend""" + @http.route(['/web/signup/approve'], type='json', auth='public') + def create_attachment(self, **dat): + """Create approval request and attachment in backend""" + data_list = [] + for data in dat['data']: + data = data.split('base64')[1] if data else False + data_list.append((0, 0, {'attachments': data})) + if request.env['res.users.approve'].sudo().search( + [('email', '=', dat['email'])]): + pass + else: + attach = request.env['res.users.approve'].sudo().create( + {'name': dat['username'], + 'email': dat['email'], + 'password': dat['password'], + 'attachment_ids': data_list + }) + for data in dat['data']: + data = data.split('base64')[1] if data else False + request.env['ir.attachment'].sudo().create( + {'name': attach.name, + 'datas': data, + 'res_model': 'res.users.approve', + 'res_id': attach.id, + } + ) diff --git a/website_signup_approval/data/website_signup_approval_data.xml b/website_signup_approval/data/website_signup_approval_data.xml new file mode 100644 index 000000000..a427552dd --- /dev/null +++ b/website_signup_approval/data/website_signup_approval_data.xml @@ -0,0 +1,14 @@ + + + + + + User Approval + + + Notification For User Approval + + + diff --git a/website_signup_approval/doc/RELEASE_NOTES.md b/website_signup_approval/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..616184b0c --- /dev/null +++ b/website_signup_approval/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 15.11.2024 +#### Version 18.0.1.0.0 +#### ADD +- Initial Commit for Website Signup Approval. diff --git a/website_signup_approval/models/__init__.py b/website_signup_approval/models/__init__.py new file mode 100755 index 000000000..0e9cc5cf6 --- /dev/null +++ b/website_signup_approval/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 document_attachment +from . import res_config_settings +from . import res_users_approve +from . import signup_approval +from . import user_approval_window diff --git a/website_signup_approval/models/document_attachment.py b/website_signup_approval/models/document_attachment.py new file mode 100755 index 000000000..3de8a8d2d --- /dev/null +++ b/website_signup_approval/models/document_attachment.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 odoo import fields, models + + +class DocumentAttachment(models.Model): + """Store Information of Attachment""" + _name = "document.attachment" + _description = 'Signup Attachments' + _rec_name = 'document' + + document = fields.Char(string="Attachment", + help="It identify the type of user document") diff --git a/website_signup_approval/models/res_config_settings.py b/website_signup_approval/models/res_config_settings.py new file mode 100755 index 000000000..fce43fa1b --- /dev/null +++ b/website_signup_approval/models/res_config_settings.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 ast import literal_eval +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + """Adding field in res config settings""" + _inherit = 'res.config.settings' + + auth_signup_approval = fields.Boolean(string='Signup Approval', + config_parameter='website_signup_approval.auth_signup_approval', + help="Signup request send only if " + "it is enabled") + documents_ids = fields.Many2many('document.attachment', + string='Documents', + help="Select the type of document") + + def set_values(self): + """Set values for the field""" + super(ResConfigSettings, self).set_values() + self.env['ir.config_parameter'].sudo().set_param( + 'website_signup_approval.documents_ids', + self.documents_ids.ids) + + def get_values(self): + """Return values for the fields""" + res = super(ResConfigSettings, self).get_values() + params = self.env['ir.config_parameter'].sudo() + limits = params.get_param( + 'website_signup_approval.documents_ids') + res.update(documents_ids=[ + (6, 0, literal_eval(limits))] if limits else False) + return res diff --git a/website_signup_approval/models/res_users_approve.py b/website_signup_approval/models/res_users_approve.py new file mode 100644 index 000000000..9e1018364 --- /dev/null +++ b/website_signup_approval/models/res_users_approve.py @@ -0,0 +1,73 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 odoo import fields, models + + +class ResUsersApprove(models.Model): + """Store Signup Information of Users from Website""" + _name = 'res.users.approve' + _description = "Approval Request Details" + + name = fields.Char(help="Name of the user", string='Name') + email = fields.Char(help="Email of the user", string="Email") + password = fields.Char(help="Password of the user", string="Password") + for_approval_menu = fields.Boolean(string='For Approval Menu', + default=False,readonly=True, + + help="Check the request is approved") + approved_date = fields.Datetime(string='Approved Date', copy=False, + help="Approval date of signup request") + attachment_ids = fields.One2many('user.approval.window', + 'approval_id', + string='Attachments', + help="Store uploaded document") + hide_button = fields.Boolean(string='For hide button', + default=False, + help="Check the button is used or not") + + def action_approve_login(self): + """To approve the request from website""" + self.for_approval_menu = True + self.hide_button = True + user = self.env['res.users'].sudo().search([('login', '=', self.email)]) + if not user: + user = self.env['res.users'].sudo().create({ + 'login': self.email, + 'name': self.name, + 'password': self.password, + 'groups_id': [(4, self.env.ref('base.group_portal').id)] + }) + template = self.env.ref( + 'auth_signup.mail_template_user_signup_account_created', + raise_if_not_found=False) + email_values = { + 'email_to': user.login, } + template.send_mail(user.id, email_values=email_values, + force_send=True) + + def action_reject_login(self): + """To reject the request from website""" + self.for_approval_menu = False + self.hide_button = True + user = self.env['res.users'].sudo().search([('login', '=', self.email)]) + if user: + user.unlink() diff --git a/website_signup_approval/models/signup_approval.py b/website_signup_approval/models/signup_approval.py new file mode 100755 index 000000000..1f5e30fcb --- /dev/null +++ b/website_signup_approval/models/signup_approval.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 odoo import fields, models + + +class SignupApproval(models.Model): + """Store Information's of User""" + _name = 'signup.approval' + _description = "Approval Request Details" + + login = fields.Char(string='Email', help="Login details of user") + name = fields.Char(string='Name', help="Name of the user") + approved_date = fields.Datetime(string='Approved Date', copy=False, + help="Approval date of signup request") + for_approval_menu = fields.Boolean(string='For Approval Menu', + help="Check the request is approved") + + def action_approve_login(self): + """To approve the request from website""" + self.env['res.users'].create({ + 'name': self.name, + 'login': self.login, + }) + self.env.ref('base.group_user').users.ids.pop() diff --git a/website_signup_approval/models/user_approval_window.py b/website_signup_approval/models/user_approval_window.py new file mode 100644 index 000000000..743bb8fe3 --- /dev/null +++ b/website_signup_approval/models/user_approval_window.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Safa KB @ Cybrosys, (odoo@cybrosys.com) +# +# 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 odoo import fields, models + + +class UserApprovalWindow(models.Model): + """Store Information of Attachment Field""" + _name = 'user.approval.window' + _description = 'Attachment Details in User Approval Window' + + attachments = fields.Binary(string='Attachments', attachment=True, + help="Store the uploaded document") + approval_id = fields.Many2one('res.users.approve', + help="Signup information's of user", + string="Approval ID") diff --git a/website_signup_approval/security/ir.model.access.csv b/website_signup_approval/security/ir.model.access.csv new file mode 100755 index 000000000..c365768b2 --- /dev/null +++ b/website_signup_approval/security/ir.model.access.csv @@ -0,0 +1,9 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_user_approval_window_user,access.user.approval.window.user,website_signup_approval.model_user_approval_window,base.group_user,1,1,1,1 +access_user_approval_window_public,access.user.approval.window.portal,website_signup_approval.model_user_approval_window,base.group_public,1,1,1,1 +access_user_approval_window_portal,access.user.approval.window.public,website_signup_approval.model_user_approval_window,base.group_portal,1,1,1,1 +access_signup_approval_user,access.signup.approval.user,website_signup_approval.model_signup_approval,base.group_user,1,1,1,1 +access_res_users_approve_user,access.res.users.approve.user,website_signup_approval.model_res_users_approve,base.group_user,1,1,0,1 +access_res_users_approve_public,access.res.users.approve.portal,website_signup_approval.model_res_users_approve,base.group_public,1,1,0,1 +access_res_users_approve_portal,access.res.users.approve.public,website_signup_approval.model_res_users_approve,base.group_portal,1,1,0,1 +access_document_attachment_user,access.document.attachment.user,website_signup_approval.model_document_attachment,base.group_user,1,1,1,1 diff --git a/website_signup_approval/security/website_signup_approval_groups.xml b/website_signup_approval/security/website_signup_approval_groups.xml new file mode 100755 index 000000000..6fd09df07 --- /dev/null +++ b/website_signup_approval/security/website_signup_approval_groups.xml @@ -0,0 +1,8 @@ + + + + + Signup Approval User + + + diff --git a/website_signup_approval/static/description/assets/cybro-icon.png b/website_signup_approval/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/website_signup_approval/static/description/assets/cybro-icon.png differ diff --git a/website_signup_approval/static/description/assets/cybro-odoo.png b/website_signup_approval/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/website_signup_approval/static/description/assets/cybro-odoo.png differ diff --git a/website_signup_approval/static/description/assets/icons/arrows-repeat.svg b/website_signup_approval/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/banner-1.png b/website_signup_approval/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/banner-1.png differ diff --git a/website_signup_approval/static/description/assets/icons/banner-2.svg b/website_signup_approval/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/banner-bg.png b/website_signup_approval/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/banner-bg.png differ diff --git a/website_signup_approval/static/description/assets/icons/banner-bg.svg b/website_signup_approval/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/banner-call.svg b/website_signup_approval/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_signup_approval/static/description/assets/icons/banner-mail.svg b/website_signup_approval/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_signup_approval/static/description/assets/icons/banner-pattern.svg b/website_signup_approval/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/banner-promo.svg b/website_signup_approval/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/brand-pair.svg b/website_signup_approval/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/check.png b/website_signup_approval/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/check.png differ diff --git a/website_signup_approval/static/description/assets/icons/chevron.png b/website_signup_approval/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/chevron.png differ diff --git a/website_signup_approval/static/description/assets/icons/close-icon.svg b/website_signup_approval/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_signup_approval/static/description/assets/icons/cogs.png b/website_signup_approval/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/cogs.png differ diff --git a/website_signup_approval/static/description/assets/icons/collabarate-icon.svg b/website_signup_approval/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_signup_approval/static/description/assets/icons/consultation.png b/website_signup_approval/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/consultation.png differ diff --git a/website_signup_approval/static/description/assets/icons/cybro-logo.png b/website_signup_approval/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/cybro-logo.png differ diff --git a/website_signup_approval/static/description/assets/icons/down.svg b/website_signup_approval/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website_signup_approval/static/description/assets/icons/ecom-black.png b/website_signup_approval/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/ecom-black.png differ diff --git a/website_signup_approval/static/description/assets/icons/education-black.png b/website_signup_approval/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/education-black.png differ diff --git a/website_signup_approval/static/description/assets/icons/faq.png b/website_signup_approval/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/faq.png differ diff --git a/website_signup_approval/static/description/assets/icons/feature-icon.svg b/website_signup_approval/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/feature.png b/website_signup_approval/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/feature.png differ diff --git a/website_signup_approval/static/description/assets/icons/gear.svg b/website_signup_approval/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/hero.gif b/website_signup_approval/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..380654dfe Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/hero.gif differ diff --git a/website_signup_approval/static/description/assets/icons/hire-odoo.svg b/website_signup_approval/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/hotel-black.png b/website_signup_approval/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/hotel-black.png differ diff --git a/website_signup_approval/static/description/assets/icons/license.png b/website_signup_approval/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/license.png differ diff --git a/website_signup_approval/static/description/assets/icons/life-ring-icon.svg b/website_signup_approval/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/lifebuoy.png b/website_signup_approval/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/lifebuoy.png differ diff --git a/website_signup_approval/static/description/assets/icons/mail.svg b/website_signup_approval/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_signup_approval/static/description/assets/icons/manufacturing-black.png b/website_signup_approval/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/manufacturing-black.png differ diff --git a/website_signup_approval/static/description/assets/icons/notes.png b/website_signup_approval/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/notes.png differ diff --git a/website_signup_approval/static/description/assets/icons/notification icon.svg b/website_signup_approval/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/odoo-consultancy.svg b/website_signup_approval/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/website_signup_approval/static/description/assets/icons/odoo-licencing.svg b/website_signup_approval/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_signup_approval/static/description/assets/icons/odoo-logo.png b/website_signup_approval/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/odoo-logo.png differ diff --git a/website_signup_approval/static/description/assets/icons/patter.svg b/website_signup_approval/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/pattern1.png b/website_signup_approval/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/pattern1.png differ diff --git a/website_signup_approval/static/description/assets/icons/pos-black.png b/website_signup_approval/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/pos-black.png differ diff --git a/website_signup_approval/static/description/assets/icons/puzzle-piece-icon.svg b/website_signup_approval/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/puzzle.png b/website_signup_approval/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/puzzle.png differ diff --git a/website_signup_approval/static/description/assets/icons/replace-icon.svg b/website_signup_approval/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/restaurant-black.png b/website_signup_approval/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/restaurant-black.png differ diff --git a/website_signup_approval/static/description/assets/icons/screenshot-main.png b/website_signup_approval/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/screenshot-main.png differ diff --git a/website_signup_approval/static/description/assets/icons/screenshot.png b/website_signup_approval/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/screenshot.png differ diff --git a/website_signup_approval/static/description/assets/icons/service-black.png b/website_signup_approval/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/service-black.png differ diff --git a/website_signup_approval/static/description/assets/icons/skype-fill.svg b/website_signup_approval/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/skype.png b/website_signup_approval/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/skype.png differ diff --git a/website_signup_approval/static/description/assets/icons/skype.svg b/website_signup_approval/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_signup_approval/static/description/assets/icons/star-1.svg b/website_signup_approval/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/star-2.svg b/website_signup_approval/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/support.png b/website_signup_approval/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/support.png differ diff --git a/website_signup_approval/static/description/assets/icons/test-1 - Copy.png b/website_signup_approval/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/test-1 - Copy.png differ diff --git a/website_signup_approval/static/description/assets/icons/test-1.png b/website_signup_approval/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/test-1.png differ diff --git a/website_signup_approval/static/description/assets/icons/test-2.png b/website_signup_approval/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/test-2.png differ diff --git a/website_signup_approval/static/description/assets/icons/trading-black.png b/website_signup_approval/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/trading-black.png differ diff --git a/website_signup_approval/static/description/assets/icons/training.png b/website_signup_approval/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/training.png differ diff --git a/website_signup_approval/static/description/assets/icons/translate.svg b/website_signup_approval/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/update.png b/website_signup_approval/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/update.png differ diff --git a/website_signup_approval/static/description/assets/icons/user.png b/website_signup_approval/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/user.png differ diff --git a/website_signup_approval/static/description/assets/icons/video.png b/website_signup_approval/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/video.png differ diff --git a/website_signup_approval/static/description/assets/icons/whatsapp.png b/website_signup_approval/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/whatsapp.png differ diff --git a/website_signup_approval/static/description/assets/icons/wrench-icon.svg b/website_signup_approval/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/website_signup_approval/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_signup_approval/static/description/assets/icons/wrench.png b/website_signup_approval/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/website_signup_approval/static/description/assets/icons/wrench.png differ diff --git a/website_signup_approval/static/description/assets/modules/1.gif b/website_signup_approval/static/description/assets/modules/1.gif new file mode 100644 index 000000000..0b5654dda Binary files /dev/null and b/website_signup_approval/static/description/assets/modules/1.gif differ diff --git a/website_signup_approval/static/description/assets/modules/2.jpg b/website_signup_approval/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..e30902970 Binary files /dev/null and b/website_signup_approval/static/description/assets/modules/2.jpg differ diff --git a/website_signup_approval/static/description/assets/modules/3.png b/website_signup_approval/static/description/assets/modules/3.png new file mode 100644 index 000000000..906d51bf5 Binary files /dev/null and b/website_signup_approval/static/description/assets/modules/3.png differ diff --git a/website_signup_approval/static/description/assets/modules/4.png b/website_signup_approval/static/description/assets/modules/4.png new file mode 100644 index 000000000..29c325870 Binary files /dev/null and b/website_signup_approval/static/description/assets/modules/4.png differ diff --git a/website_signup_approval/static/description/assets/modules/5.png b/website_signup_approval/static/description/assets/modules/5.png new file mode 100644 index 000000000..5ecbe9819 Binary files /dev/null and b/website_signup_approval/static/description/assets/modules/5.png differ diff --git a/website_signup_approval/static/description/assets/modules/6.png b/website_signup_approval/static/description/assets/modules/6.png new file mode 100644 index 000000000..3722f2378 Binary files /dev/null and b/website_signup_approval/static/description/assets/modules/6.png differ diff --git a/website_signup_approval/static/description/assets/screenshots/1.png b/website_signup_approval/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..f39237100 Binary files /dev/null and b/website_signup_approval/static/description/assets/screenshots/1.png differ diff --git a/website_signup_approval/static/description/assets/screenshots/2.png b/website_signup_approval/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..3d92e44b4 Binary files /dev/null and b/website_signup_approval/static/description/assets/screenshots/2.png differ diff --git a/website_signup_approval/static/description/assets/screenshots/3.png b/website_signup_approval/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..a7a7dd588 Binary files /dev/null and b/website_signup_approval/static/description/assets/screenshots/3.png differ diff --git a/website_signup_approval/static/description/assets/screenshots/4.png b/website_signup_approval/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..603772848 Binary files /dev/null and b/website_signup_approval/static/description/assets/screenshots/4.png differ diff --git a/website_signup_approval/static/description/assets/screenshots/5.png b/website_signup_approval/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..80e0434ac Binary files /dev/null and b/website_signup_approval/static/description/assets/screenshots/5.png differ diff --git a/website_signup_approval/static/description/assets/screenshots/6.png b/website_signup_approval/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..c632c2836 Binary files /dev/null and b/website_signup_approval/static/description/assets/screenshots/6.png differ diff --git a/website_signup_approval/static/description/assets/screenshots/hero.gif b/website_signup_approval/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..8201576de Binary files /dev/null and b/website_signup_approval/static/description/assets/screenshots/hero.gif differ diff --git a/website_signup_approval/static/description/banner.png b/website_signup_approval/static/description/banner.png new file mode 100644 index 000000000..cddf26f25 Binary files /dev/null and b/website_signup_approval/static/description/banner.png differ diff --git a/website_signup_approval/static/description/icon.png b/website_signup_approval/static/description/icon.png new file mode 100644 index 000000000..1fbec6853 Binary files /dev/null and b/website_signup_approval/static/description/icon.png differ diff --git a/website_signup_approval/static/description/index.html b/website_signup_approval/static/description/index.html new file mode 100644 index 000000000..cb3650164 --- /dev/null +++ b/website_signup_approval/static/description/index.html @@ -0,0 +1,982 @@ + + + + + + Website Signup Approval + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+ + + + +
+
+ +
+
+
+
+

+ This Module Helps To Generate Website Signup + Approval. +

+

Website Signup Approval +

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

Key + Highlights

+
+
+
+
+ +
+
+ Approval Process +
+

+ User Signup Approval Process when a new User + Signup.

+
+
+
+
+
+ +
+
+ User Document Management +
+

+ Upload Documents of User from Website. +

+
+
+
+
+
+ +
+
+ Approve/Reject The Request. +
+

+ Approve/Reject User Signup Requests from the + backend. +

+
+
+
+
+ +
+
+
+ Website Signup Approval +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Choose the Customer Account + +

+
+
+

+ Go to Website Settings, Choose + Customer Account as Free sign + up, Enable Signup Approval and + add attachment types. +

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

+ Create Login Request + +

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

+ Login Request Generation + +

+
+
+

+ After completed the signup form + click on the signup button.An + approval request is generated. +

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

+ Request Records + + +

+
+
+

+ Here We can see the Request + Records +

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

+ Request form page + + +

+
+
+

+ Open the Form Page We can See + the Request Accept and Reject + Button. +

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

+ Login Alert + + +

+
+
+

+ If a person Login without the + permission it Will Show the + Alert Message +

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

+ Approval Badge + + +

+
+
+

+ Showing Access Badge When Giving + Approval. +

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

+ User Signup Approval Process + when a new User Signup.

+
+
+
+
+
+
+
+ +
+

+ Upload Documents of User from + Website.

+
+
+
+
+
+
+
+ +
+

+ Upload Documents of User from + Website.

+
+
+
+
+
+
+ +
+
+

+ Latest Release 18.0.1.0.0 +

+ + 26th September, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + +
+

+ Related Products +

+ +
+ +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/website_signup_approval/static/src/js/signup.js b/website_signup_approval/static/src/js/signup.js new file mode 100755 index 000000000..5c40b5497 --- /dev/null +++ b/website_signup_approval/static/src/js/signup.js @@ -0,0 +1,40 @@ +/** @odoo-module **/ + import publicWidget from "@web/legacy/js/public/public_widget"; + import { rpc } from "@web/core/network/rpc"; + + var MySignUpForm = publicWidget.registry.SignUpForm.extend({ + _onSubmit: function (el) { + /** + *Override onSubmit function for sending approval request + */ + var file = this.$('.get_attach'); + var email = this.$('input[name=login]').val(); + var username = this.$('input[name=name]').val(); + var password = this.$('input[name=password]').val(); + //Get signup information's from user + const data_array = [] + var count=0; + for (var doc = 0; doc < file.length; doc++) { + var SelectedFile = new FileReader(); + var data = SelectedFile.readAsDataURL(file[doc].files[0]); + SelectedFile.addEventListener('load', (e) => { + count++; + const data = e.target.result; + data_array.push(data) + if (count===(file.length)){ + //Pass parameters to the route + const route = rpc("/web/signup/approve", + { + 'data':data_array, + 'email':email, + 'username':username, + 'password':password + } + ) + } + }); + } + }, + }); + publicWidget.registry.MySignUpForm = MySignUpForm; + return MySignUpForm; diff --git a/website_signup_approval/views/approval_request_templates.xml b/website_signup_approval/views/approval_request_templates.xml new file mode 100644 index 000000000..b65b6e64e --- /dev/null +++ b/website_signup_approval/views/approval_request_templates.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/website_signup_approval/views/document_attachment_views.xml b/website_signup_approval/views/document_attachment_views.xml new file mode 100755 index 000000000..3f598ff13 --- /dev/null +++ b/website_signup_approval/views/document_attachment_views.xml @@ -0,0 +1,35 @@ + + + + + Attachments + document.attachment + list,form + + + + document.attachment.view.tree + document.attachment + + + + + + + + + document.attachment.view.form + document.attachment + +
+ + + +
+
+
+ + +
diff --git a/website_signup_approval/views/res_config_settings_views.xml b/website_signup_approval/views/res_config_settings_views.xml new file mode 100755 index 000000000..1aef5de95 --- /dev/null +++ b/website_signup_approval/views/res_config_settings_views.xml @@ -0,0 +1,34 @@ + + + + + + res.config.settings.view.form.inherit.website.signup.approval + + res.config.settings + + + +
+
+ +
+
+
+
+
+
+
+
diff --git a/website_signup_approval/views/res_users_approve_views.xml b/website_signup_approval/views/res_users_approve_views.xml new file mode 100755 index 000000000..3814e338a --- /dev/null +++ b/website_signup_approval/views/res_users_approve_views.xml @@ -0,0 +1,78 @@ + + + + + res.users.approve.view.tree + res.users.approve + primary + + + + + + + + + + + + res.users.approve.view.form + res.users.approve + primary + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + Portal Approval + res.users.approve + ir.actions.act_window + list,form + + + + +
diff --git a/website_signup_approval/views/signup_templates.xml b/website_signup_approval/views/signup_templates.xml new file mode 100755 index 000000000..50b582e09 --- /dev/null +++ b/website_signup_approval/views/signup_templates.xml @@ -0,0 +1,33 @@ + + + + +