diff --git a/website_extra_social_media/README.rst b/website_extra_social_media/README.rst new file mode 100644 index 000000000..5dd1a98d0 --- /dev/null +++ b/website_extra_social_media/README.rst @@ -0,0 +1,49 @@ +.. 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 + +Extra Social Media In Website +============================= +This module will help you to add Extra Social Media in Website by using an +Inner Content Snippet. + +Configuration +============= +* Need to add your Social Media Account links in the corresponding field of + Configuration Settings of Website module. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License v3.0 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: (V15) Sreerag PM, +Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/website_extra_social_media/__init__.py b/website_extra_social_media/__init__.py new file mode 100644 index 000000000..1add035f7 --- /dev/null +++ b/website_extra_social_media/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Sreerag PM(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_extra_social_media/__manifest__.py b/website_extra_social_media/__manifest__.py new file mode 100644 index 000000000..f32d40150 --- /dev/null +++ b/website_extra_social_media/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Sreerag PM(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': 'Extra Social Media In Website', + 'version': '15.0.1.0.0', + 'category': 'Website', + 'summary': 'Snippet for adding extra social medias in website.', + 'description': "This provides an option to add extra social medias " + "like YouTube, Google+, Pinterest, Flickr etc. in website" + " by using inner content snippet.The social medias that " + "have values in the configuration settings will be only " + "visible in the website.", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['website'], + 'data': [ + 'views/res_config_setting_views.xml', + 'views/res_company_views.xml', + 'views/website_templates_views.xml' + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/website_extra_social_media/controllers/__init__.py b/website_extra_social_media/controllers/__init__.py new file mode 100644 index 000000000..dd1f1ce22 --- /dev/null +++ b/website_extra_social_media/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Sreerag PM(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_extra_social_media diff --git a/website_extra_social_media/controllers/website_extra_social_media.py b/website_extra_social_media/controllers/website_extra_social_media.py new file mode 100644 index 000000000..2f6ddacbb --- /dev/null +++ b/website_extra_social_media/controllers/website_extra_social_media.py @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Sreerag PM(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 WebsiteExtraSocialMedia(http.Controller): + """Class for the controllers of website_extra_social_media.""" + + @http.route(['/website/sm/whatsapp'], type="http", auth="public") + def whatsapp(self): + """ when clicking on the whatsapp icon in the website, it will enter + to this controller,and it will redirect to the + link - 'https://api.whatsapp.com/send?phone='with the number that + in the configuration settings of website module.""" + request.website = request.env[ + 'website'].sudo().get_current_website() + website_id = request.website + if website_id.social_whatsapp is not False: + url = 'https://api.whatsapp.com/send?phone=' + website_id.social_whatsapp + return request.redirect(url, local=False) + + @http.route(['/website/sm/google/plus'], type="http", auth="public") + def google_plus(self): + """ when clicking on the Google plus icon in the website, it will enter + to this controller,and it will redirect to the link that in the + configuration settings of website module.""" + request.website = request.env[ + 'website'].sudo().get_current_website() + website_id = request.website + if website_id.social_google_plus is not False: + url = website_id.social_google_plus + return request.redirect(url, local=False) + + @http.route(['/website/sm/snapchat'], type="http", auth="public") + def snapchat(self): + """ when clicking on the snapchat icon in the website, it will enter + to this controller,and it will redirect to the link that in the + configuration settings of website module.""" + request.website = request.env[ + 'website'].sudo().get_current_website() + website_id = request.website + if website_id.social_snapchat is not False: + url = website_id.social_snapchat + return request.redirect(url, local=False) + + @http.route(['/website/sm/flickr'], type="http", auth="public") + def flickr(self): + """ when clicking on the flickr icon in the website, it will enter + to this controller,and it will redirect to the link that in the + configuration settings of website module.""" + request.website = request.env[ + 'website'].sudo().get_current_website() + website_id = request.website + if website_id.social_flickr is not False: + url = website_id.social_flickr + return request.redirect(url, local=False) + + @http.route(['/website/sm/quora'], type="http", auth="public") + def quora(self): + """ when clicking on the quora icon in the website, it will enter to + this controller,and it will redirect to the link that in the + configuration settings of website module.""" + request.website = request.env[ + 'website'].sudo().get_current_website() + website_id = request.website + if website_id.social_quora is not False: + url = website_id.social_quora + return request.redirect(url, local=False) + + @http.route(['/website/sm/pinterest'], type="http", auth="public") + def pinterest(self): + """ when clicking on the pinterest icon in the website, it will enter + to this controller,and it will redirect to the link that in the + configuration settings of website module.""" + request.website = request.env[ + 'website'].sudo().get_current_website() + website_id = request.website + if website_id.social_pinterest is not False: + url = website_id.social_pinterest + return request.redirect(url, local=False) + + @http.route(['/website/sm/dribble'], type="http", auth="public") + def dribble(self): + """ when clicking on the dribble icon in the website, it will enter to + this controller,and it will redirect to the link that in the + configuration settings of website module.""" + request.website = request.env[ + 'website'].sudo().get_current_website() + website_id = request.website + if website_id.social_dribble is not False: + url = website_id.social_dribble + return request.redirect(url, local=False) + + @http.route(['/website/sm/tumblr'], type="http", auth="public") + def tumblr(self): + """ when clicking on the tumblr icon in the website, it will enter to + this controller,and it will redirect to the link that in the + configuration settings of website module.""" + request.website = request.env[ + 'website'].sudo().get_current_website() + website_id = request.website + if website_id.social_tumblr is not False: + url = website_id.social_tumblr + return request.redirect(url, local=False) diff --git a/website_extra_social_media/doc/RELEASE_NOTES.md b/website_extra_social_media/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..0eadb73ce --- /dev/null +++ b/website_extra_social_media/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 12.09.2024 +#### Version 15.0.1.0.0 +#### ADD + +- Initial Commit for Extra Social Media In Website. diff --git a/website_extra_social_media/models/__init__.py b/website_extra_social_media/models/__init__.py new file mode 100644 index 000000000..963f1fc5f --- /dev/null +++ b/website_extra_social_media/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Sreerag PM(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 res_company +from . import website +from . import res_config_settings diff --git a/website_extra_social_media/models/res_company.py b/website_extra_social_media/models/res_company.py new file mode 100644 index 000000000..0fd59b848 --- /dev/null +++ b/website_extra_social_media/models/res_company.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Sreerag PM(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 Company(models.Model): + """Inherits the Company model for adding new fields""" + _inherit = "res.company" + + social_whatsapp = fields.Char(string='Whatsapp Number') + social_google_plus = fields.Char(string='Google+ Account') + social_snapchat = fields.Char(string='SnapChat Account') + social_flickr = fields.Char(string='Flickr Account') + social_quora = fields.Char(string='Quora Account') + social_pinterest = fields.Char(string='Pinterest Account') + social_dribble = fields.Char(string='Dribble Account') + social_tumblr = fields.Char(string='Tumblr Account') diff --git a/website_extra_social_media/models/res_config_settings.py b/website_extra_social_media/models/res_config_settings.py new file mode 100644 index 000000000..69c87ba18 --- /dev/null +++ b/website_extra_social_media/models/res_config_settings.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Sreerag PM(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 ResConfigSettings(models.TransientModel): + """ Class for inherited model res config settings. Contains required + fields and functions for the website_extra_social_media module. + Methods: + get_social_media_values(self): + Method for return social media value into the website.""" + _inherit = 'res.config.settings' + + social_whatsapp = fields.Char(related='website_id.social_whatsapp', + readonly=False) + social_google_plus = fields.Char(related='website_id.social_google_plus', + readonly=False) + social_snapchat = fields.Char(related='website_id.social_snapchat', + readonly=False) + social_flickr = fields.Char(related='website_id.social_flickr', + readonly=False) + social_quora = fields.Char(related='website_id.social_quora', + readonly=False) + social_pinterest = fields.Char(related='website_id.social_pinterest', + readonly=False) + social_dribble = fields.Char(related='website_id.social_dribble', + readonly=False) + social_tumblr = fields.Char(related='website_id.social_tumblr', + readonly=False) diff --git a/website_extra_social_media/models/website.py b/website_extra_social_media/models/website.py new file mode 100644 index 000000000..3f70eafd1 --- /dev/null +++ b/website_extra_social_media/models/website.py @@ -0,0 +1,68 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Sreerag PM(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 Website(models.Model): + """Inheritance model for website models that adding new methods""" + _inherit = "website" + + def _default_social_whatsapp(self): + return self.env.ref('base.main_company').social_whatsapp + + def _default_social_google_plus(self): + return self.env.ref('base.main_company').social_google_plus + + def _default_social_snapchat(self): + return self.env.ref('base.main_company').social_snapchat + + def _default_social_social_flickr(self): + return self.env.ref('base.main_company').social_flickr + + def _default_social_social_quora(self): + return self.env.ref('base.main_company').social_quora + + def _default_social_social_pinterest(self): + return self.env.ref('base.main_company').social_pinterest + + def _default_social_dribble(self): + return self.env.ref('base.main_company').social_dribble + + def _default_social_tumblr(self): + return self.env.ref('base.main_company').social_tumblr + + social_whatsapp = fields.Char('Whatsapp Number', + default=_default_social_whatsapp) + social_google_plus = fields.Char('Google+ Account', + default=_default_social_google_plus) + social_snapchat = fields.Char('SnapChat Account', + default=_default_social_snapchat) + social_flickr = fields.Char('Flickr Account', + default=_default_social_social_flickr) + social_quora = fields.Char('Quora Account', + default=_default_social_social_quora) + social_pinterest = fields.Char('Pinterest Account', + default=_default_social_social_pinterest) + social_dribble = fields.Char('Dribble Account', + default=_default_social_dribble) + social_tumblr = fields.Char('Tumblr Account', + default=_default_social_tumblr) diff --git a/website_extra_social_media/static/description/assets/icons/check.png b/website_extra_social_media/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/check.png differ diff --git a/website_extra_social_media/static/description/assets/icons/chevron.png b/website_extra_social_media/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/chevron.png differ diff --git a/website_extra_social_media/static/description/assets/icons/cogs.png b/website_extra_social_media/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/cogs.png differ diff --git a/website_extra_social_media/static/description/assets/icons/consultation.png b/website_extra_social_media/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/consultation.png differ diff --git a/website_extra_social_media/static/description/assets/icons/ecom-black.png b/website_extra_social_media/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/ecom-black.png differ diff --git a/website_extra_social_media/static/description/assets/icons/education-black.png b/website_extra_social_media/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/education-black.png differ diff --git a/website_extra_social_media/static/description/assets/icons/hotel-black.png b/website_extra_social_media/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/hotel-black.png differ diff --git a/website_extra_social_media/static/description/assets/icons/license.png b/website_extra_social_media/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/license.png differ diff --git a/website_extra_social_media/static/description/assets/icons/lifebuoy.png b/website_extra_social_media/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/lifebuoy.png differ diff --git a/website_extra_social_media/static/description/assets/icons/manufacturing-black.png b/website_extra_social_media/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/manufacturing-black.png differ diff --git a/website_extra_social_media/static/description/assets/icons/pos-black.png b/website_extra_social_media/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/pos-black.png differ diff --git a/website_extra_social_media/static/description/assets/icons/puzzle.png b/website_extra_social_media/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/puzzle.png differ diff --git a/website_extra_social_media/static/description/assets/icons/restaurant-black.png b/website_extra_social_media/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/restaurant-black.png differ diff --git a/website_extra_social_media/static/description/assets/icons/service-black.png b/website_extra_social_media/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/service-black.png differ diff --git a/website_extra_social_media/static/description/assets/icons/trading-black.png b/website_extra_social_media/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/trading-black.png differ diff --git a/website_extra_social_media/static/description/assets/icons/training.png b/website_extra_social_media/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/training.png differ diff --git a/website_extra_social_media/static/description/assets/icons/update.png b/website_extra_social_media/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/update.png differ diff --git a/website_extra_social_media/static/description/assets/icons/user.png b/website_extra_social_media/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/user.png differ diff --git a/website_extra_social_media/static/description/assets/icons/wrench.png b/website_extra_social_media/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/website_extra_social_media/static/description/assets/icons/wrench.png differ diff --git a/website_extra_social_media/static/description/assets/misc/categories.png b/website_extra_social_media/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/categories.png differ diff --git a/website_extra_social_media/static/description/assets/misc/check-box.png b/website_extra_social_media/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/check-box.png differ diff --git a/website_extra_social_media/static/description/assets/misc/compass.png b/website_extra_social_media/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/compass.png differ diff --git a/website_extra_social_media/static/description/assets/misc/corporate.png b/website_extra_social_media/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/corporate.png differ diff --git a/website_extra_social_media/static/description/assets/misc/customer-support.png b/website_extra_social_media/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/customer-support.png differ diff --git a/website_extra_social_media/static/description/assets/misc/cybrosys-logo.png b/website_extra_social_media/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/cybrosys-logo.png differ diff --git a/website_extra_social_media/static/description/assets/misc/features.png b/website_extra_social_media/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/features.png differ diff --git a/website_extra_social_media/static/description/assets/misc/logo.png b/website_extra_social_media/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/logo.png differ diff --git a/website_extra_social_media/static/description/assets/misc/pictures.png b/website_extra_social_media/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/pictures.png differ diff --git a/website_extra_social_media/static/description/assets/misc/pie-chart.png b/website_extra_social_media/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/pie-chart.png differ diff --git a/website_extra_social_media/static/description/assets/misc/right-arrow.png b/website_extra_social_media/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/right-arrow.png differ diff --git a/website_extra_social_media/static/description/assets/misc/star.png b/website_extra_social_media/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/star.png differ diff --git a/website_extra_social_media/static/description/assets/misc/support.png b/website_extra_social_media/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/support.png differ diff --git a/website_extra_social_media/static/description/assets/misc/whatsapp.png b/website_extra_social_media/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/website_extra_social_media/static/description/assets/misc/whatsapp.png differ diff --git a/website_extra_social_media/static/description/assets/modules/1.png b/website_extra_social_media/static/description/assets/modules/1.png new file mode 100644 index 000000000..e6bee65a9 Binary files /dev/null and b/website_extra_social_media/static/description/assets/modules/1.png differ diff --git a/website_extra_social_media/static/description/assets/modules/2.png b/website_extra_social_media/static/description/assets/modules/2.png new file mode 100644 index 000000000..94318a840 Binary files /dev/null and b/website_extra_social_media/static/description/assets/modules/2.png differ diff --git a/website_extra_social_media/static/description/assets/modules/3.png b/website_extra_social_media/static/description/assets/modules/3.png new file mode 100644 index 000000000..00104b670 Binary files /dev/null and b/website_extra_social_media/static/description/assets/modules/3.png differ diff --git a/website_extra_social_media/static/description/assets/modules/4.png b/website_extra_social_media/static/description/assets/modules/4.png new file mode 100644 index 000000000..fb2c92d20 Binary files /dev/null and b/website_extra_social_media/static/description/assets/modules/4.png differ diff --git a/website_extra_social_media/static/description/assets/modules/5.png b/website_extra_social_media/static/description/assets/modules/5.png new file mode 100644 index 000000000..f19f3578e Binary files /dev/null and b/website_extra_social_media/static/description/assets/modules/5.png differ diff --git a/website_extra_social_media/static/description/assets/modules/6.jpg b/website_extra_social_media/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..021a0557b Binary files /dev/null and b/website_extra_social_media/static/description/assets/modules/6.jpg differ diff --git a/website_extra_social_media/static/description/assets/screenshots/1.png b/website_extra_social_media/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..61a4f5620 Binary files /dev/null and b/website_extra_social_media/static/description/assets/screenshots/1.png differ diff --git a/website_extra_social_media/static/description/assets/screenshots/2.png b/website_extra_social_media/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..effd55e90 Binary files /dev/null and b/website_extra_social_media/static/description/assets/screenshots/2.png differ diff --git a/website_extra_social_media/static/description/assets/screenshots/3.png b/website_extra_social_media/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..888462d5c Binary files /dev/null and b/website_extra_social_media/static/description/assets/screenshots/3.png differ diff --git a/website_extra_social_media/static/description/assets/screenshots/4.png b/website_extra_social_media/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..b1f6613cc Binary files /dev/null and b/website_extra_social_media/static/description/assets/screenshots/4.png differ diff --git a/website_extra_social_media/static/description/assets/screenshots/5.png b/website_extra_social_media/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..736485757 Binary files /dev/null and b/website_extra_social_media/static/description/assets/screenshots/5.png differ diff --git a/website_extra_social_media/static/description/assets/screenshots/hero.gif b/website_extra_social_media/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..4a5d197bd Binary files /dev/null and b/website_extra_social_media/static/description/assets/screenshots/hero.gif differ diff --git a/website_extra_social_media/static/description/banner.png b/website_extra_social_media/static/description/banner.png new file mode 100644 index 000000000..2484bdbbe Binary files /dev/null and b/website_extra_social_media/static/description/banner.png differ diff --git a/website_extra_social_media/static/description/icon.png b/website_extra_social_media/static/description/icon.png new file mode 100644 index 000000000..d3aa21526 Binary files /dev/null and b/website_extra_social_media/static/description/icon.png differ diff --git a/website_extra_social_media/static/description/index.html b/website_extra_social_media/static/description/index.html new file mode 100644 index 000000000..d60cdf962 --- /dev/null +++ b/website_extra_social_media/static/description/index.html @@ -0,0 +1,534 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Extra Social Media In Website

+

Snippet for Adding Extra Social Medias.

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ This module will help you to add Extra Social Medias like YouTube, Google+ , + Pinterest, Flickr etc. in Website by using an Inner Content Snippet.The Social + Medias that have values in the Configuration Settings will be only visible + in the Website +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Extra Social Medias like YouTube, Google+ , Pinterest, + Flickr etc. for Website. +
+
+ + The link for social media can be added from + Configuration Settings of Website module. +
+
+ + In the case of Whatsapp,just use Whatsapp number. +
+
+ + Applicable for multiple Websites. +
+
+ + Only the Social Media that have account links in the + back-end will be visible in the front-end. +
+
+ + Compatible with Community, Enterprise and Odoo.sh. +
+
+
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+
+

Add your Social Media account links in the corresponding + field of Configuration Settings of Website. +

+ +
+
+

There will be the fields for adding links in the company records for Extra Social Media. +

+ +
+
+

You will be able to see all the Added Social Medias in the footer. +

+ +
+
+

In the case of Whatsapp, just add the Whatsapp Number. +

+ +
+
+

It will redirect to the Whatsapp Page. +

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

Related + Products +

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

Our Services +

+
+
+
+
+
+ +
+
+ Odoo + Customization
+
+
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ Odoo + Support
+
+
+
+ +
+
+ Hire + Odoo + Developer
+
+
+
+ +
+
+ Odoo + Integration
+
+
+
+ +
+
+ Odoo + Migration
+
+
+
+ +
+
+ Odoo + Consultancy
+
+
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ 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 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/website_extra_social_media/views/res_company_views.xml b/website_extra_social_media/views/res_company_views.xml new file mode 100644 index 000000000..685348e16 --- /dev/null +++ b/website_extra_social_media/views/res_company_views.xml @@ -0,0 +1,32 @@ + + + + res.company.form.inherit.social.media + res.company + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_extra_social_media/views/res_config_setting_views.xml b/website_extra_social_media/views/res_config_setting_views.xml new file mode 100644 index 000000000..1e5094368 --- /dev/null +++ b/website_extra_social_media/views/res_config_setting_views.xml @@ -0,0 +1,43 @@ + + + + + + res.config.settings.view.form.inherit.website.extra.social.media + + res.config.settings + + + + +
+
+
+
+
+
diff --git a/website_extra_social_media/views/website_templates_views.xml b/website_extra_social_media/views/website_templates_views.xml new file mode 100644 index 000000000..971296f96 --- /dev/null +++ b/website_extra_social_media/views/website_templates_views.xml @@ -0,0 +1,56 @@ + + + + + \ No newline at end of file