diff --git a/website_sale_address_management/README.rst b/website_sale_address_management/README.rst new file mode 100644 index 000000000..6b6013bda --- /dev/null +++ b/website_sale_address_management/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 + +Website Sale Address Management +================================= +This Module Helps You to Filter Fields in Address Form and Show or Hide Fields by Switching on/off Toggles. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License, Version 3 (AGPL v3) +( https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developers: (Version 16) Rahul Rajeev @cybrosys , Jumana Jabin MP @cybrosys, + (Version 17) Sabeel B @cybrosys + (Version 18) Sruthi Renjith @cybrosys +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_sale_address_management/__init__.py b/website_sale_address_management/__init__.py new file mode 100644 index 000000000..35a0feed2 --- /dev/null +++ b/website_sale_address_management/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Sruthi Renjith (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_sale_address_management/__manifest__.py b/website_sale_address_management/__manifest__.py new file mode 100644 index 000000000..3b6881c87 --- /dev/null +++ b/website_sale_address_management/__manifest__.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Sruthi Renjith (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 Sale Address Management", + 'version': '18.0.1.0.0', + 'category': 'Website', + 'summary': """This module helps you to show or hide fields by switching + on/off toggles,set fields as mandatory or not and set default country.""", + 'description': """This module helps you to show or hide fields by switching + on/off toggles.You can set fields as mandatory or not and also set default + country.All of these features can be changed from configuration settings + of Website module.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['website_sale'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/website_sale_templates.xml', + ], + 'assets': { + 'web.assets_backend': [ + 'website_sale_address_management/static/src/css/address_management.css', + ], + 'web.assets_frontend': [ + 'website_sale_address_management/static/src/js/website_sale_address.js' + ], + }, + 'images': [ + 'static/description/banner.jpg', + ], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/website_sale_address_management/controllers/__init__.py b/website_sale_address_management/controllers/__init__.py new file mode 100644 index 000000000..07860bbe9 --- /dev/null +++ b/website_sale_address_management/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Sruthi Renjith (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_sale_address_management diff --git a/website_sale_address_management/controllers/website_sale_address_management.py b/website_sale_address_management/controllers/website_sale_address_management.py new file mode 100644 index 000000000..160cd79e6 --- /dev/null +++ b/website_sale_address_management/controllers/website_sale_address_management.py @@ -0,0 +1,219 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Sruthi Renjith (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 _ +from odoo.exceptions import ValidationError +from odoo.http import request +from odoo.addons.website_sale.controllers.main import WebsiteSale +from odoo.tools import single_email_re + + +class CustomWebsiteSale(WebsiteSale): + """class used to monkey patch functions in class WebsiteSale""" + + def _get_mandatory_delivery_address_fields(self, country_sudo): + """ Function to get all the mandatory fields of delivery address """ + mandatory_fields = super()._get_mandatory_delivery_address_fields(country_sudo) + # Checking for custom mandatory fields. + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_shipping_phone_is_required'): + mandatory_fields.remove('phone') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_shipping_zip_code_is_required'): + if "zip" in mandatory_fields: + mandatory_fields.remove('zip') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_shipping_street_is_required'): + mandatory_fields.remove('street') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_shipping_city_is_required'): + mandatory_fields.remove('city') + return mandatory_fields + + def _get_mandatory_billing_address_fields(self, country_sudo): + """ Function to get all the mandatory fields of billing address """ + mandatory_fields = super()._get_mandatory_billing_address_fields(country_sudo) + # Checking for custom mandatory fields. + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_billing_phone_is_required'): + mandatory_fields.remove('phone') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_billing_zip_code_is_required'): + if "zip" in mandatory_fields: + mandatory_fields.remove('zip') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_billing_street_is_required'): + mandatory_fields.remove('street') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_billing_city_is_required'): + mandatory_fields.remove('city') + return mandatory_fields + + def _validate_address_values( + self, + address_values, + partner_sudo, + address_type, + use_delivery_as_billing, + required_fields, + is_main_address, + **_kwargs, + ): + """ Function for validating fields """ + # data: values after preprocess + invalid_fields = set() + missing_fields = set() + error_messages = [] + if partner_sudo: + name_change = ( + 'name' in address_values + and partner_sudo.name + and address_values['name'] != partner_sudo.name + ) + email_change = ( + 'email' in address_values + and partner_sudo.email + and address_values['email'] != partner_sudo.email + ) + # Prevent changing the partner name if invoices have been issued. + if name_change and not partner_sudo._can_edit_name(): + invalid_fields.add('name') + error_messages.append(_( + "Changing your name is not allowed once invoices have been issued for your" + " account. Please contact us directly for this operation." + )) + # Prevent changing the partner name or email if it is an internal user. + if (name_change or email_change) and not all(partner_sudo.user_ids.mapped('share')): + if name_change: + invalid_fields.add('name') + if email_change: + invalid_fields.add('email') + error_messages.append(_( + "If you are ordering for an external person, please place your order via the" + " backend. If you wish to change your name or email address, please do so in" + " the account settings or contact your administrator." + )) + # Prevent changing the VAT number if invoices have been issued. + if ( + 'vat' in address_values + and address_values['vat'] != partner_sudo.vat + and not partner_sudo.can_edit_vat() + ): + invalid_fields.add('vat') + error_messages.append(_( + "Changing VAT number is not allowed once document(s) have been issued for your" + " account. Please contact us directly for this operation." + )) + # Validate the email. + if address_values.get('email') and not single_email_re.match(address_values['email']): + invalid_fields.add('email') + error_messages.append(_("Invalid Email! Please enter a valid email address.")) + # Validate the VAT number. + ResPartnerSudo = request.env['res.partner'].sudo() + if ( + address_values.get('vat') and hasattr(ResPartnerSudo, 'check_vat') + and 'vat' not in invalid_fields + ): + partner_dummy = ResPartnerSudo.new({ + fname: address_values[fname] + for fname in self._get_vat_validation_fields() + if fname in address_values + }) + try: + partner_dummy.check_vat() + except ValidationError as exception: + invalid_fields.add('vat') + error_messages.append(exception.args[0]) + # Build the set of required fields from the address form's requirements. + required_field_set = {f for f in required_fields.split(',') if f} + # Complete the set of required fields based on the address type. + country_id = address_values.get('country_id') + country = request.env['res.country'].browse(country_id) + if address_type == 'delivery' or use_delivery_as_billing: + required_field_set |= self._get_mandatory_delivery_address_fields(country) + if address_type == 'billing' or use_delivery_as_billing: + required_field_set |= self._get_mandatory_billing_address_fields(country) + if not is_main_address: + commercial_fields = ResPartnerSudo._commercial_fields() + for fname in commercial_fields: + if fname in required_field_set and fname not in address_values: + required_field_set.remove(fname) + if address_type == 'delivery': + # Checking for delivery address required fields and removing it if + # present in the required fields list. + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_shipping_phone_is_required'): + if 'phone' in required_field_set: + required_field_set.remove('phone') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_shipping_zip_code_is_required'): + if 'zip' in required_field_set: + required_field_set.remove('zip') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_shipping_street_is_required'): + if 'street' in required_field_set: + required_field_set.remove('street') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_shipping_city_is_required'): + if 'city' in required_field_set: + required_field_set.remove('city') + elif address_type == 'billing': + # Checking for billing address required fields and removing it if + # present in the required fields list. + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_billing_phone_is_required'): + if 'phone' in required_field_set: + required_field_set.remove('phone') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_billing_zip_code_is_required'): + if 'zip' in required_field_set: + required_field_set.remove('zip') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_billing_street_is_required'): + if 'street' in required_field_set: + required_field_set.remove('street') + if not request.env['ir.config_parameter'].sudo().get_param( + 'website_sale_address_management.' + 'is_billing_city_is_required'): + if 'city' in required_field_set: + required_field_set.remove('city') + # Verify that no required field has been left empty. + for field_name in required_field_set: + if not address_values.get(field_name): + missing_fields.add(field_name) + if missing_fields: + error_messages.append(_("Some required fields are empty.")) + return invalid_fields, missing_fields, error_messages diff --git a/website_sale_address_management/doc/RELEASE_NOTES.md b/website_sale_address_management/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..8e11b2a46 --- /dev/null +++ b/website_sale_address_management/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 04.06.2025 +#### Version 18.0.1.0.0 +#### ADD + - Initial Commit for Website Sale Address Management diff --git a/website_sale_address_management/models/__init__.py b/website_sale_address_management/models/__init__.py new file mode 100644 index 000000000..33aca46b1 --- /dev/null +++ b/website_sale_address_management/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Sruthi Renjith (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 res_config_settings diff --git a/website_sale_address_management/models/res_config_settings.py b/website_sale_address_management/models/res_config_settings.py new file mode 100644 index 000000000..acea62f0b --- /dev/null +++ b/website_sale_address_management/models/res_config_settings.py @@ -0,0 +1,145 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Sruthi Renjith (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 api, fields, models + + +class ResConfigSettings(models.TransientModel): + """Inheriting ResConfigSettings Model. + This class extends the functionality of the 'res.config.settings' + model.It allows customizing and managing configuration settings + for the module """ + _inherit = 'res.config.settings' + + is_billing_phone = fields.Boolean( + string="Billing Phone", + config_parameter='website_sale_address_management.is_billing_phone', + help="Enable or disable the option for billing phone") + is_billing_phone_is_required = fields.Boolean( + string="Billing Phone Required", + config_parameter='website_sale_address_management' + '.is_billing_phone_is_required', + help="Specify whether billing phone is required") + is_billing_street = fields.Boolean( + string="Billing Street", + config_parameter='website_sale_address_management.is_billing_street', + help="Enable or disable the option for billing street") + is_billing_street_is_required = fields.Boolean( + string="Billing Street Is Required", + config_parameter='website_sale_address_management.' + 'is_billing_street_is_required', + help="Specify whether billing street is required") + is_billing_street2 = fields.Boolean( + string="Billing Street 2", + config_parameter='website_sale_address_management.is_billing_street2', + help="Enable or disable the option for billing street 2") + is_billing_city = fields.Boolean( + string="Billing City", + config_parameter='website_sale_address_management.is_billing_city', + help="Enable or disable the option for billing city") + is_billing_city_is_required = fields.Boolean( + string="Billing City Is Required", + config_parameter='website_sale_address_management' + '.is_billing_city_is_required', + help="Specify whether billing city is required") + billing_country_id = fields.Many2one('res.country', + config_parameter='billing_country', + string="Default Billing Country", + help="Specify default billing country") + is_billing_zip_code = fields.Boolean( + string="Billing ZIP Code", + config_parameter='website_sale_address_management.is_billing_zip_code', + help="Enable or disable the option for billing ZIP code") + is_billing_zip_code_is_required = fields.Boolean( + string="Billing ZIP Code Is Required", + config_parameter='website_sale_address_management.' + 'is_billing_zip_code_is_required', + help="Specify whether billing ZIP code is required") + is_shipping_phone = fields.Boolean( + string="Shipping Phone", + config_parameter='website_sale_address_management.is_shipping_phone', + help="Enable or disable the option for shipping phone") + is_shipping_phone_is_required = fields.Boolean( + string="Shipping Phone Is Required", + config_parameter='website_sale_address_management.' + 'is_shipping_phone_is_required', + help="Specify whether shipping phone is required") + is_shipping_street = fields.Boolean( + string="Shipping Street", + config_parameter='website_sale_address_management.is_shipping_street', + help="Enable or disable the option for shipping street") + is_shipping_street_is_required = fields.Boolean( + string="Shipping Street Is Required", + config_parameter='website_sale_address_management.' + 'is_shipping_street_is_required', + help="Specify whether shipping street is required") + is_shipping_street2 = fields.Boolean( + string="Shipping Street 2", + config_parameter='website_sale_address_management.is_shipping_street2', + help="Enable or disable the option for shipping street 2") + is_shipping_city = fields.Boolean( + string="Shipping City", + config_parameter='website_sale_address_management.is_shipping_city', + help="Enable or disable the option for shipping city") + is_shipping_city_is_required = fields.Boolean( + string="Shipping City Is Required", + config_parameter='website_sale_address_management.' + 'is_shipping_city_is_required', + help="Specify whether shipping city is required") + shipping_country_id = fields.Many2one('res.country', + config_parameter='shipping_country', + string="Default Shipping Country", + help="Specify the default " + "shipping country") + is_shipping_zip_code = fields.Boolean( + string="Shipping ZIP Code", + config_parameter='website_sale_address_management.is_shipping_zip_code', + help="Enable or disable the option for shipping ZIP code") + is_shipping_zip_code_is_required = fields.Boolean( + string="Shipping ZIP Code Is Required", + config_parameter='website_sale_address_management.' + 'is_shipping_zip_code_is_required', + help="Specify whether shipping ZIP code is required") + + @api.onchange('is_billing_phone', 'is_billing_street', + 'is_billing_city', 'is_billing_zip_code', 'is_shipping_phone', + 'is_shipping_street', 'is_shipping_city', + 'is_shipping_zip_code') + def _onchange_fields(self): + """This method is triggered when any of the specified fields + are changed. It updates the corresponding required fields based on + the user's input.""" + if not self.is_billing_phone: + self.is_billing_phone_is_required = False + if not self.is_billing_street: + self.is_billing_street_is_required = False + if not self.is_billing_city: + self.is_billing_city_is_required = False + if not self.is_billing_zip_code: + self.is_billing_zip_code_is_required = False + if not self.is_shipping_phone: + self.is_shipping_phone_is_required = False + if not self.is_shipping_street: + self.is_shipping_street_is_required = False + if not self.is_shipping_city: + self.is_shipping_city_is_required = False + if not self.is_shipping_zip_code: + self.is_shipping_zip_code_is_required = False diff --git a/website_sale_address_management/static/description/assets/icons/arrows-repeat.svg b/website_sale_address_management/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/banner-1.png b/website_sale_address_management/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/banner-1.png differ diff --git a/website_sale_address_management/static/description/assets/icons/banner-2.svg b/website_sale_address_management/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/banner-bg.png b/website_sale_address_management/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/banner-bg.png differ diff --git a/website_sale_address_management/static/description/assets/icons/banner-bg.svg b/website_sale_address_management/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/banner-call.svg b/website_sale_address_management/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/banner-mail.svg b/website_sale_address_management/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/banner-pattern.svg b/website_sale_address_management/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/banner-promo.svg b/website_sale_address_management/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/brand-pair.svg b/website_sale_address_management/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/check.png b/website_sale_address_management/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/check.png differ diff --git a/website_sale_address_management/static/description/assets/icons/chevron.png b/website_sale_address_management/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/chevron.png differ diff --git a/website_sale_address_management/static/description/assets/icons/close-icon.svg b/website_sale_address_management/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/cogs.png b/website_sale_address_management/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/cogs.png differ diff --git a/website_sale_address_management/static/description/assets/icons/collabarate-icon.svg b/website_sale_address_management/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_sale_address_management/static/description/assets/icons/consultation.png b/website_sale_address_management/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/consultation.png differ diff --git a/website_sale_address_management/static/description/assets/icons/cybro-logo.png b/website_sale_address_management/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/cybro-logo.png differ diff --git a/website_sale_address_management/static/description/assets/icons/down.svg b/website_sale_address_management/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website_sale_address_management/static/description/assets/icons/ecom-black.png b/website_sale_address_management/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/ecom-black.png differ diff --git a/website_sale_address_management/static/description/assets/icons/education-black.png b/website_sale_address_management/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/education-black.png differ diff --git a/website_sale_address_management/static/description/assets/icons/faq.png b/website_sale_address_management/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/faq.png differ diff --git a/website_sale_address_management/static/description/assets/icons/feature-icon.svg b/website_sale_address_management/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/feature.png b/website_sale_address_management/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/feature.png differ diff --git a/website_sale_address_management/static/description/assets/icons/gear.svg b/website_sale_address_management/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/hero.gif b/website_sale_address_management/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..380654dfe Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/hero.gif differ diff --git a/website_sale_address_management/static/description/assets/icons/hire-odoo.svg b/website_sale_address_management/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/hotel-black.png b/website_sale_address_management/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/hotel-black.png differ diff --git a/website_sale_address_management/static/description/assets/icons/license.png b/website_sale_address_management/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/license.png differ diff --git a/website_sale_address_management/static/description/assets/icons/life-ring-icon.svg b/website_sale_address_management/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/lifebuoy.png b/website_sale_address_management/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/lifebuoy.png differ diff --git a/website_sale_address_management/static/description/assets/icons/mail.svg b/website_sale_address_management/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_sale_address_management/static/description/assets/icons/manufacturing-black.png b/website_sale_address_management/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/manufacturing-black.png differ diff --git a/website_sale_address_management/static/description/assets/icons/notes.png b/website_sale_address_management/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/notes.png differ diff --git a/website_sale_address_management/static/description/assets/icons/notification icon.svg b/website_sale_address_management/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/odoo-consultancy.svg b/website_sale_address_management/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/website_sale_address_management/static/description/assets/icons/odoo-licencing.svg b/website_sale_address_management/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_sale_address_management/static/description/assets/icons/odoo-logo.png b/website_sale_address_management/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/odoo-logo.png differ diff --git a/website_sale_address_management/static/description/assets/icons/patter.svg b/website_sale_address_management/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/pattern1.png b/website_sale_address_management/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/pattern1.png differ diff --git a/website_sale_address_management/static/description/assets/icons/pos-black.png b/website_sale_address_management/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/pos-black.png differ diff --git a/website_sale_address_management/static/description/assets/icons/puzzle-piece-icon.svg b/website_sale_address_management/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/puzzle.png b/website_sale_address_management/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/puzzle.png differ diff --git a/website_sale_address_management/static/description/assets/icons/replace-icon.svg b/website_sale_address_management/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/restaurant-black.png b/website_sale_address_management/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/restaurant-black.png differ diff --git a/website_sale_address_management/static/description/assets/icons/screenshot-main.png b/website_sale_address_management/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/screenshot-main.png differ diff --git a/website_sale_address_management/static/description/assets/icons/screenshot.png b/website_sale_address_management/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/screenshot.png differ diff --git a/website_sale_address_management/static/description/assets/icons/service-black.png b/website_sale_address_management/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/service-black.png differ diff --git a/website_sale_address_management/static/description/assets/icons/skype-fill.svg b/website_sale_address_management/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/skype.png b/website_sale_address_management/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/skype.png differ diff --git a/website_sale_address_management/static/description/assets/icons/skype.svg b/website_sale_address_management/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_sale_address_management/static/description/assets/icons/star-1.svg b/website_sale_address_management/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/star-2.svg b/website_sale_address_management/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/support.png b/website_sale_address_management/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/support.png differ diff --git a/website_sale_address_management/static/description/assets/icons/test-1 - Copy.png b/website_sale_address_management/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/test-1 - Copy.png differ diff --git a/website_sale_address_management/static/description/assets/icons/test-1.png b/website_sale_address_management/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/test-1.png differ diff --git a/website_sale_address_management/static/description/assets/icons/test-2.png b/website_sale_address_management/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/test-2.png differ diff --git a/website_sale_address_management/static/description/assets/icons/trading-black.png b/website_sale_address_management/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/trading-black.png differ diff --git a/website_sale_address_management/static/description/assets/icons/training.png b/website_sale_address_management/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/training.png differ diff --git a/website_sale_address_management/static/description/assets/icons/translate.svg b/website_sale_address_management/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/update.png b/website_sale_address_management/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/update.png differ diff --git a/website_sale_address_management/static/description/assets/icons/user.png b/website_sale_address_management/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/user.png differ diff --git a/website_sale_address_management/static/description/assets/icons/video.png b/website_sale_address_management/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/video.png differ diff --git a/website_sale_address_management/static/description/assets/icons/whatsapp.png b/website_sale_address_management/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/whatsapp.png differ diff --git a/website_sale_address_management/static/description/assets/icons/wrench-icon.svg b/website_sale_address_management/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/website_sale_address_management/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/icons/wrench.png b/website_sale_address_management/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/website_sale_address_management/static/description/assets/icons/wrench.png differ diff --git a/website_sale_address_management/static/description/assets/misc/Cybrosys R.png b/website_sale_address_management/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/Cybrosys R.png differ diff --git a/website_sale_address_management/static/description/assets/misc/categories.png b/website_sale_address_management/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/categories.png differ diff --git a/website_sale_address_management/static/description/assets/misc/check-box.png b/website_sale_address_management/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/check-box.png differ diff --git a/website_sale_address_management/static/description/assets/misc/compass.png b/website_sale_address_management/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/compass.png differ diff --git a/website_sale_address_management/static/description/assets/misc/corporate.png b/website_sale_address_management/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/corporate.png differ diff --git a/website_sale_address_management/static/description/assets/misc/customer-support.png b/website_sale_address_management/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/customer-support.png differ diff --git a/website_sale_address_management/static/description/assets/misc/cybrosys-logo.png b/website_sale_address_management/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/cybrosys-logo.png differ diff --git a/website_sale_address_management/static/description/assets/misc/email.svg b/website_sale_address_management/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/website_sale_address_management/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/misc/features.png b/website_sale_address_management/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/features.png differ diff --git a/website_sale_address_management/static/description/assets/misc/logo.png b/website_sale_address_management/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/logo.png differ diff --git a/website_sale_address_management/static/description/assets/misc/phone.svg b/website_sale_address_management/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/website_sale_address_management/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/website_sale_address_management/static/description/assets/misc/pictures.png b/website_sale_address_management/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/pictures.png differ diff --git a/website_sale_address_management/static/description/assets/misc/pie-chart.png b/website_sale_address_management/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/pie-chart.png differ diff --git a/website_sale_address_management/static/description/assets/misc/right-arrow.png b/website_sale_address_management/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/right-arrow.png differ diff --git a/website_sale_address_management/static/description/assets/misc/star (1) 2.svg b/website_sale_address_management/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/website_sale_address_management/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/misc/star.png b/website_sale_address_management/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/star.png differ diff --git a/website_sale_address_management/static/description/assets/misc/support (1) 1.svg b/website_sale_address_management/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/website_sale_address_management/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/misc/support-email.svg b/website_sale_address_management/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/website_sale_address_management/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/website_sale_address_management/static/description/assets/misc/support.png b/website_sale_address_management/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/support.png differ diff --git a/website_sale_address_management/static/description/assets/misc/tick-mark.svg b/website_sale_address_management/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/website_sale_address_management/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/misc/whatsapp 1.svg b/website_sale_address_management/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/website_sale_address_management/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/misc/whatsapp.png b/website_sale_address_management/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/website_sale_address_management/static/description/assets/misc/whatsapp.png differ diff --git a/website_sale_address_management/static/description/assets/misc/whatsapp.svg b/website_sale_address_management/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/website_sale_address_management/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website_sale_address_management/static/description/assets/modules/1.png b/website_sale_address_management/static/description/assets/modules/1.png new file mode 100644 index 000000000..0acf8802e Binary files /dev/null and b/website_sale_address_management/static/description/assets/modules/1.png differ diff --git a/website_sale_address_management/static/description/assets/modules/2.jpg b/website_sale_address_management/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..8602126f7 Binary files /dev/null and b/website_sale_address_management/static/description/assets/modules/2.jpg differ diff --git a/website_sale_address_management/static/description/assets/modules/3.jpg b/website_sale_address_management/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..864310c24 Binary files /dev/null and b/website_sale_address_management/static/description/assets/modules/3.jpg differ diff --git a/website_sale_address_management/static/description/assets/modules/4.jpg b/website_sale_address_management/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..e8f983281 Binary files /dev/null and b/website_sale_address_management/static/description/assets/modules/4.jpg differ diff --git a/website_sale_address_management/static/description/assets/modules/5.png b/website_sale_address_management/static/description/assets/modules/5.png new file mode 100644 index 000000000..a961de2d4 Binary files /dev/null and b/website_sale_address_management/static/description/assets/modules/5.png differ diff --git a/website_sale_address_management/static/description/assets/modules/6.png b/website_sale_address_management/static/description/assets/modules/6.png new file mode 100644 index 000000000..834b4f701 Binary files /dev/null and b/website_sale_address_management/static/description/assets/modules/6.png differ diff --git a/website_sale_address_management/static/description/assets/screenshots/1.png b/website_sale_address_management/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..ad6b4a415 Binary files /dev/null and b/website_sale_address_management/static/description/assets/screenshots/1.png differ diff --git a/website_sale_address_management/static/description/assets/screenshots/2.png b/website_sale_address_management/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..1f9af8b1a Binary files /dev/null and b/website_sale_address_management/static/description/assets/screenshots/2.png differ diff --git a/website_sale_address_management/static/description/assets/screenshots/3.png b/website_sale_address_management/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..582970e87 Binary files /dev/null and b/website_sale_address_management/static/description/assets/screenshots/3.png differ diff --git a/website_sale_address_management/static/description/assets/screenshots/4.png b/website_sale_address_management/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..10dcb0308 Binary files /dev/null and b/website_sale_address_management/static/description/assets/screenshots/4.png differ diff --git a/website_sale_address_management/static/description/assets/screenshots/hero.gif b/website_sale_address_management/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..eb62a5840 Binary files /dev/null and b/website_sale_address_management/static/description/assets/screenshots/hero.gif differ diff --git a/website_sale_address_management/static/description/banner.jpg b/website_sale_address_management/static/description/banner.jpg new file mode 100644 index 000000000..8478404ac Binary files /dev/null and b/website_sale_address_management/static/description/banner.jpg differ diff --git a/website_sale_address_management/static/description/icon.png b/website_sale_address_management/static/description/icon.png new file mode 100644 index 000000000..febefbcaf Binary files /dev/null and b/website_sale_address_management/static/description/icon.png differ diff --git a/website_sale_address_management/static/description/index.html b/website_sale_address_management/static/description/index.html new file mode 100644 index 000000000..18e8dc633 --- /dev/null +++ b/website_sale_address_management/static/description/index.html @@ -0,0 +1,995 @@ + + + + + + Address Management + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ This Module Helps You to Show or Hide Fields by Switching + on/off Toggles, + Set Fields as Mandatory or not and Set Default Country. +

+

Website Sale Address Management +

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

Key + Highlights

+
+
+
+
+ +
+
+ Show/Hide Options +
+

+ Show or Hide Fields by Switching on/off Toggles.

+
+
+
+
+
+ +
+
+ Default Country +
+

+ Set Default Country. +

+
+
+
+
+
+ +
+
+ Mandatory Field +
+

+ Set Fields as Mandatory or not.

+
+
+
+
+ +
+
+
+ Website Sale Address Management +

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

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

+ Configure + + Fields +

+
+
+

+ From Configuration Settings Choose the Fields You Need and Also + Set Default Country. +

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

+ Billing + + Address +

+
+
+

+ Then Go and Edit Billing Address. +

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

+ Shipping + + Address +

+
+
+

+ Also, Edit the Shipping Address. +

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

+ In Payment Page + + Address +

+
+
+

+ You Can See the Edited Billing Address and + Shipping Address with Default Country. +

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

+ Show or Hide Fields by Switching on/off Toggles.

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

+ You can go to Website → Configuration → Settings, where you will find toggle switches or checkboxes for each supported field. Enabling or disabling these will show/hide them on the website.

+
+
+ +
+ +
+

+ Yes, the module allows you to control whether each field is required (mandatory) or optional. This is also managed through the Website settings. +

+
+
+ +
+ +
+

+ No coding is needed. All configuration is done through the user-friendly interface in the Website settings. +

+
+
+ +
+ +
+

+ The changes apply only to the website forms. Backend views in Odoo remain unaffected. +

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

+ Latest Release 18.0.1.0.0 +

+ + 15th June, 2025 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + +
+

+ Related Products +

+ +
+ + +
+

+ Our Services

+ +
+
+ +
+
+ .... +
+
+ +
+ +
+
+ + + + + + diff --git a/website_sale_address_management/static/src/css/address_management.css b/website_sale_address_management/static/src/css/address_management.css new file mode 100644 index 000000000..5a839ca01 --- /dev/null +++ b/website_sale_address_management/static/src/css/address_management.css @@ -0,0 +1,16 @@ +@media (min-width: 768px){ +.o_setting_right_pane .o_field_widget:not(.o_field_boolean) { + width: auto !important; + padding: 0px 8px !important; + } + } +.address_head{ + margin-left: 30px; + margin-bottom: 22px; +} +#billing_country_id{ + width: 58%; +} +#shipping_country_id{ + width: 58%; +} diff --git a/website_sale_address_management/static/src/js/website_sale_address.js b/website_sale_address_management/static/src/js/website_sale_address.js new file mode 100644 index 000000000..a735cd848 --- /dev/null +++ b/website_sale_address_management/static/src/js/website_sale_address.js @@ -0,0 +1,93 @@ +/** @odoo-module **/ + +import websiteSaleAddress from '@website_sale/js/address'; +import { rpc } from "@web/core/network/rpc"; + +websiteSaleAddress.include({ + async _changeCountry(init=false) { + const countryId = parseInt(this.addressForm.country_id.value); + if (!countryId) { + return; + } + const data = await rpc( + `/shop/country_info/${parseInt(countryId)}`, + {address_type: this.addressType}, + ); + if (this.addressForm.phone){ + if (data.phone_code !== 0) { + this.addressForm.phone.placeholder = '+' + data.phone_code; + } else { + this.addressForm.phone.placeholder = ''; + } + } + // populate states and display + var selectStates = this.addressForm.state_id; + if (!init || selectStates.options.length === 1) { + // dont reload state at first loading (done in qweb) + if (data.states.length || data.state_required) { + // empty existing options, only keep the placeholder. + selectStates.options.length = 1; + // create new options and append them to the select element + data.states.forEach((state) => { + let option = new Option(state[1], state[0]); + // Used by localizations + option.setAttribute('data-code', state[2]); + selectStates.appendChild(option); + }); + this._showInput('state_id'); + } else { + this._hideInput('state_id'); + } + } + // manage fields order / visibility + if (data.fields) { + if (this._getInputDiv('zip') && this._getInputDiv('city')) { + if (data.zip_before_city) { + this._getInputDiv('zip').after(this._getInputDiv('city')); + } else { + this._getInputDiv('zip').before(this._getInputDiv('city')); + } + } + var all_fields = ['street', 'zip', 'city']; + all_fields.forEach((fname) => { + if (data.fields.includes(fname)) { + this._showInput(fname); + } else { + this._hideInput(fname); + } + }); + } + const required_fields = this.addressForm.querySelectorAll(':required'); + required_fields.forEach((element) => { + // remove requirement on previously required fields + if ( + !data.required_fields.includes(element.name) + && !this.requiredFields.includes(element.name) + ) { + this._markRequired(element.name, false); + } + }); + data.required_fields.forEach((fieldName) => { + this._markRequired(fieldName, true); + }) + }, + + _getInputDiv(name) { + if (this.addressForm[name]) { + return this.addressForm[name].parentElement; + } + else { + return; + } + }, + + _showInput(name) { + // show parent div, containing label and input + if (this.addressForm[name]) { + this.addressForm[name].parentElement.style.display = ''; + } + else { + return; + } + }, +}); diff --git a/website_sale_address_management/views/res_config_settings_views.xml b/website_sale_address_management/views/res_config_settings_views.xml new file mode 100644 index 000000000..a5a7462c9 --- /dev/null +++ b/website_sale_address_management/views/res_config_settings_views.xml @@ -0,0 +1,129 @@ + + + + + + res.config.settings.view.form.inherit.website.sale.address.management + + res.config.settings + + + +

ECommerce Address

+
+
+

Billing Address

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

Shipping Address

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/website_sale_address_management/views/website_sale_templates.xml b/website_sale_address_management/views/website_sale_templates.xml new file mode 100644 index 000000000..53152b301 --- /dev/null +++ b/website_sale_address_management/views/website_sale_templates.xml @@ -0,0 +1,304 @@ + + + +