diff --git a/customer_blacklist/README.rst b/customer_blacklist/README.rst new file mode 100644 index 000000000..0f63906c6 --- /dev/null +++ b/customer_blacklist/README.rst @@ -0,0 +1,47 @@ +.. 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 + +Blacklist Customer +================== +* We can blacklist the Customer. A warning is shown when sale order or invoice is created for blacklisted customer. When blacklisted customer is signed into a website, they are not allowed purchase wishlist or compare the product. + +Configuration +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +AFFERO GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer: (V16) NIHALA KP, 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 +-------- +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com" + +Further Information +----------- +HTML Description: ``__ diff --git a/customer_blacklist/__init__.py b/customer_blacklist/__init__.py new file mode 100644 index 000000000..a3e810360 --- /dev/null +++ b/customer_blacklist/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU 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/customer_blacklist/__manifest__.py b/customer_blacklist/__manifest__.py new file mode 100644 index 000000000..d6bd86502 --- /dev/null +++ b/customer_blacklist/__manifest__.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU 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': 'Blacklist Customer', + 'version': '16.0.1.0.0', + 'category': 'Contact', + 'summary': 'This module help to blacklist customers', + 'description': """This module help to blacklist customers. If the customer + is blacklisted, a notification will be shown in sale order and invoice. + Also the customer can't buy products from website""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['contacts', 'website_sale_wishlist', 'website_sale_comparison', + 'sale_management'], + 'data': [ + 'views/res_partner_views.xml', + 'views/sale_order_views.xml', + 'views/account_move_views.xml', + 'views/website_layout_template.xml', + ], + 'images': [ + 'static/description/banner.png', + 'static/description/icon.png', + ], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} + diff --git a/customer_blacklist/controllers/__init__.py b/customer_blacklist/controllers/__init__.py new file mode 100644 index 000000000..5ba9d68cb --- /dev/null +++ b/customer_blacklist/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU 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_sale diff --git a/customer_blacklist/controllers/website_sale.py b/customer_blacklist/controllers/website_sale.py new file mode 100644 index 000000000..a72ec3f77 --- /dev/null +++ b/customer_blacklist/controllers/website_sale.py @@ -0,0 +1,75 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU 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.http import request, route +from odoo import http +from odoo.addons.website_sale.controllers.main import WebsiteSale +from odoo.addons.website.models.ir_http import sitemap_qs2dom + + +class CustomerBlacklist(WebsiteSale): + """this class is inherited to to check whether the customer is + blacklisted""" + + @http.route(['/shop/'], type='http', + auth="public", website=True, sitemap=True) + def product(self, product, category='', search='', **kwargs): + """Updated the context to check whether the customer is blacklisted + and cleared the cache""" + res = super(CustomerBlacklist, self).product(product=product, + category=category, + search=search, **kwargs) + is_blacklisted = request.env.user.partner_id.blacklisted_partner + res.qcontext['is_blacklisted'] = is_blacklisted + request.env.registry.clear_caches() + return res + + def sitemap_shop(env, rule, qs): + """Generate sitemap entries for the Odoo eCommerce shop categories""" + if not qs or qs.lower() in '/shop': + yield {'loc': '/shop'} + Category = env['product.public.category'] + dom = sitemap_qs2dom(qs, '/shop/category', Category._rec_name) + dom += env['website'].get_current_website().website_domain() + for cat in Category.search(dom): + loc = '/shop/category/%s' % slug(cat) + if not qs or qs.lower() in loc: + yield {'loc': loc} + + @http.route([ + '/shop', + '/shop/page/', + '/shop/category/', + '/shop/category//page/', + ], type='http', auth="public", website=True, sitemap=sitemap_shop) + def shop(self, page=0, category=None, search='', min_price=0.0, + max_price=0.0, ppg=False, **post): + """Updated the context to check whether the customer is blacklisted + and cleared the cache""" + res = super(CustomerBlacklist, self).shop(page=page, category=category, + search=search, + min_price=min_price, + max_price=max_price, ppg=ppg, + **post) + is_blacklisted = request.env.user.partner_id.blacklisted_partner + res.qcontext['is_blacklisted'] = is_blacklisted + request.env.registry.clear_caches() + return res diff --git a/customer_blacklist/doc/RELEASE_NOTES.md b/customer_blacklist/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..46179620f --- /dev/null +++ b/customer_blacklist/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 19.04.2024 +#### Version 16.0.1.0.0 +#### ADD +- Initial Commit Blacklist Customer diff --git a/customer_blacklist/models/__init__.py b/customer_blacklist/models/__init__.py new file mode 100644 index 000000000..141da452a --- /dev/null +++ b/customer_blacklist/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU 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 account_move +from . import res_partner +from . import sale_order diff --git a/customer_blacklist/models/account_move.py b/customer_blacklist/models/account_move.py new file mode 100644 index 000000000..f37c6dd36 --- /dev/null +++ b/customer_blacklist/models/account_move.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU 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 api, fields, models, _ + + +class AccountMove(models.Model): + """ + Extend the base ResPartner model to include additional features. + + This class inherits from the base AccountMove model and adds functionality + to mark customers as blacklisted. + """ + _inherit = 'account.move' + + partner_blacklist_warning = fields.Text( + compute='_compute_partner_blacklist_warning', help="warning message", + string="warning" + ) + + @api.depends('partner_id') + def _compute_partner_blacklist_warning(self): + """Add warning message on invoice if the customer is blacklisted""" + for rec in self: + if rec.partner_id.blacklisted_partner: + rec.partner_blacklist_warning = _( + 'The %s is marked as blacklisted' % rec.partner_id.name + ) + else: + rec.partner_blacklist_warning = '' diff --git a/customer_blacklist/models/res_partner.py b/customer_blacklist/models/res_partner.py new file mode 100644 index 000000000..915b24e3c --- /dev/null +++ b/customer_blacklist/models/res_partner.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU 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 ResPartner(models.Model): + """ + Extend the base ResPartner model to include additional features. + + This class inherits from the base ResPartner model and adds functionality + to mark customers as blacklisted. + """ + _inherit = 'res.partner' + + blacklisted_partner = fields.Boolean(string="Blacklist Partner", + help="Enable to make the customer as" + " blacklisted") diff --git a/customer_blacklist/models/sale_order.py b/customer_blacklist/models/sale_order.py new file mode 100644 index 000000000..f7b6e23a0 --- /dev/null +++ b/customer_blacklist/models/sale_order.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU 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 api, fields, models, _ + + +class SaleOrder(models.Model): + _inherit = 'sale.order' + + partner_blacklist_warning = fields.Text( + compute='_compute_partner_blacklist_warning', help="Warning message", + string="warning" + ) + + @api.depends('partner_id') + def _compute_partner_blacklist_warning(self): + """Add warning message on sale order if the customer is blacklisted""" + for rec in self: + if rec.partner_id.blacklisted_partner: + rec.partner_blacklist_warning = _( + 'The %s is marked as blacklisted' % rec.partner_id.name + ) + else: + rec.partner_blacklist_warning = '' diff --git a/customer_blacklist/static/description/assets/icons/check.png b/customer_blacklist/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/check.png differ diff --git a/customer_blacklist/static/description/assets/icons/chevron.png b/customer_blacklist/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/chevron.png differ diff --git a/customer_blacklist/static/description/assets/icons/cogs.png b/customer_blacklist/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/cogs.png differ diff --git a/customer_blacklist/static/description/assets/icons/consultation.png b/customer_blacklist/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/consultation.png differ diff --git a/customer_blacklist/static/description/assets/icons/ecom-black.png b/customer_blacklist/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/ecom-black.png differ diff --git a/customer_blacklist/static/description/assets/icons/education-black.png b/customer_blacklist/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/education-black.png differ diff --git a/customer_blacklist/static/description/assets/icons/hotel-black.png b/customer_blacklist/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/hotel-black.png differ diff --git a/customer_blacklist/static/description/assets/icons/license.png b/customer_blacklist/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/license.png differ diff --git a/customer_blacklist/static/description/assets/icons/lifebuoy.png b/customer_blacklist/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/lifebuoy.png differ diff --git a/customer_blacklist/static/description/assets/icons/manufacturing-black.png b/customer_blacklist/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/manufacturing-black.png differ diff --git a/customer_blacklist/static/description/assets/icons/pos-black.png b/customer_blacklist/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/pos-black.png differ diff --git a/customer_blacklist/static/description/assets/icons/puzzle.png b/customer_blacklist/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/puzzle.png differ diff --git a/customer_blacklist/static/description/assets/icons/restaurant-black.png b/customer_blacklist/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/restaurant-black.png differ diff --git a/customer_blacklist/static/description/assets/icons/service-black.png b/customer_blacklist/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/service-black.png differ diff --git a/customer_blacklist/static/description/assets/icons/trading-black.png b/customer_blacklist/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/trading-black.png differ diff --git a/customer_blacklist/static/description/assets/icons/training.png b/customer_blacklist/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/training.png differ diff --git a/customer_blacklist/static/description/assets/icons/update.png b/customer_blacklist/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/update.png differ diff --git a/customer_blacklist/static/description/assets/icons/user.png b/customer_blacklist/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/user.png differ diff --git a/customer_blacklist/static/description/assets/icons/wrench.png b/customer_blacklist/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/customer_blacklist/static/description/assets/icons/wrench.png differ diff --git a/customer_blacklist/static/description/assets/misc/categories.png b/customer_blacklist/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/categories.png differ diff --git a/customer_blacklist/static/description/assets/misc/check-box.png b/customer_blacklist/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/check-box.png differ diff --git a/customer_blacklist/static/description/assets/misc/compass.png b/customer_blacklist/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/compass.png differ diff --git a/customer_blacklist/static/description/assets/misc/corporate.png b/customer_blacklist/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/corporate.png differ diff --git a/customer_blacklist/static/description/assets/misc/customer-support.png b/customer_blacklist/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/customer-support.png differ diff --git a/customer_blacklist/static/description/assets/misc/cybrosys-logo.png b/customer_blacklist/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/cybrosys-logo.png differ diff --git a/customer_blacklist/static/description/assets/misc/features.png b/customer_blacklist/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/features.png differ diff --git a/customer_blacklist/static/description/assets/misc/logo.png b/customer_blacklist/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/logo.png differ diff --git a/customer_blacklist/static/description/assets/misc/pictures.png b/customer_blacklist/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/pictures.png differ diff --git a/customer_blacklist/static/description/assets/misc/pie-chart.png b/customer_blacklist/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/pie-chart.png differ diff --git a/customer_blacklist/static/description/assets/misc/right-arrow.png b/customer_blacklist/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/right-arrow.png differ diff --git a/customer_blacklist/static/description/assets/misc/star.png b/customer_blacklist/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/star.png differ diff --git a/customer_blacklist/static/description/assets/misc/support.png b/customer_blacklist/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/support.png differ diff --git a/customer_blacklist/static/description/assets/misc/whatsapp.png b/customer_blacklist/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/customer_blacklist/static/description/assets/misc/whatsapp.png differ diff --git a/customer_blacklist/static/description/assets/modules/1.png b/customer_blacklist/static/description/assets/modules/1.png new file mode 100644 index 000000000..bd1a82caa Binary files /dev/null and b/customer_blacklist/static/description/assets/modules/1.png differ diff --git a/customer_blacklist/static/description/assets/modules/2.png b/customer_blacklist/static/description/assets/modules/2.png new file mode 100644 index 000000000..7323ebf6d Binary files /dev/null and b/customer_blacklist/static/description/assets/modules/2.png differ diff --git a/customer_blacklist/static/description/assets/modules/3.jpg b/customer_blacklist/static/description/assets/modules/3.jpg new file mode 100755 index 000000000..15892a150 Binary files /dev/null and b/customer_blacklist/static/description/assets/modules/3.jpg differ diff --git a/customer_blacklist/static/description/assets/modules/4.png b/customer_blacklist/static/description/assets/modules/4.png new file mode 100644 index 000000000..fc6659119 Binary files /dev/null and b/customer_blacklist/static/description/assets/modules/4.png differ diff --git a/customer_blacklist/static/description/assets/modules/5.png b/customer_blacklist/static/description/assets/modules/5.png new file mode 100644 index 000000000..c925eee5d Binary files /dev/null and b/customer_blacklist/static/description/assets/modules/5.png differ diff --git a/customer_blacklist/static/description/assets/modules/6.png b/customer_blacklist/static/description/assets/modules/6.png new file mode 100644 index 000000000..a78662b18 Binary files /dev/null and b/customer_blacklist/static/description/assets/modules/6.png differ diff --git a/customer_blacklist/static/description/assets/screenshots/1.png b/customer_blacklist/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..53eb7dc7c Binary files /dev/null and b/customer_blacklist/static/description/assets/screenshots/1.png differ diff --git a/customer_blacklist/static/description/assets/screenshots/2.png b/customer_blacklist/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..2a320a2c1 Binary files /dev/null and b/customer_blacklist/static/description/assets/screenshots/2.png differ diff --git a/customer_blacklist/static/description/assets/screenshots/3.png b/customer_blacklist/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..32adce47c Binary files /dev/null and b/customer_blacklist/static/description/assets/screenshots/3.png differ diff --git a/customer_blacklist/static/description/assets/screenshots/4.png b/customer_blacklist/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..11da88888 Binary files /dev/null and b/customer_blacklist/static/description/assets/screenshots/4.png differ diff --git a/customer_blacklist/static/description/assets/screenshots/5.png b/customer_blacklist/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..d1faf4659 Binary files /dev/null and b/customer_blacklist/static/description/assets/screenshots/5.png differ diff --git a/customer_blacklist/static/description/assets/screenshots/6.png b/customer_blacklist/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..6877b34ce Binary files /dev/null and b/customer_blacklist/static/description/assets/screenshots/6.png differ diff --git a/customer_blacklist/static/description/assets/screenshots/v16-hero.gif b/customer_blacklist/static/description/assets/screenshots/v16-hero.gif new file mode 100644 index 000000000..3dfa08039 Binary files /dev/null and b/customer_blacklist/static/description/assets/screenshots/v16-hero.gif differ diff --git a/customer_blacklist/static/description/banner.png b/customer_blacklist/static/description/banner.png new file mode 100644 index 000000000..1e531bd82 Binary files /dev/null and b/customer_blacklist/static/description/banner.png differ diff --git a/customer_blacklist/static/description/icon.png b/customer_blacklist/static/description/icon.png new file mode 100644 index 000000000..3bf8f03cb Binary files /dev/null and b/customer_blacklist/static/description/icon.png differ diff --git a/customer_blacklist/static/description/index.html b/customer_blacklist/static/description/index.html new file mode 100644 index 000000000..4b252c170 --- /dev/null +++ b/customer_blacklist/static/description/index.html @@ -0,0 +1,641 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Blacklist Customer

+

+ This Odoo app help to blacklist customers. If the customer is blacklisted, a notification will be shown in sale order and invoice. Also, the customers can't buy product from website + + +

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This Odoo app help to blacklist customers. If the customer is blacklisted, a notification will be shown in sale order and invoice. Also, the customers can't buy product from website +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Can blacklist customers. +
+
+ + Notification will be shown when the blacklisted customer is selected in sale order and invoice +
+ +
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Go to Contact -> Select a partner and enable blacklist field to mark as blacklisted. +

+ +
+ +
+

+ Create a sale order with the blacklisted partner. A notification can be seen if the partner is blacklisted +

+ +
+ +
+

+ Create an invoice with the blacklisted partner. A notification can be seen if the partner is blacklisted +

+ +
+
+

+ If the blacklisted partner is sign in to the website, he will be unable to purchase product, add to cart, compare, add to wishlist the products +

+ +
+
+

+ If the blacklisted field is disabled, then customer can purchase, wishlist and compare the products from the website +

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

+ 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

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/customer_blacklist/views/account_move_views.xml b/customer_blacklist/views/account_move_views.xml new file mode 100644 index 000000000..c6ee631f6 --- /dev/null +++ b/customer_blacklist/views/account_move_views.xml @@ -0,0 +1,18 @@ + + + + + account.move.view.form.inherit.customer.blacklist + + account.move + + + + + + + + \ No newline at end of file diff --git a/customer_blacklist/views/res_partner_views.xml b/customer_blacklist/views/res_partner_views.xml new file mode 100644 index 000000000..237371bf9 --- /dev/null +++ b/customer_blacklist/views/res_partner_views.xml @@ -0,0 +1,15 @@ + + + + + res.partner.view.form.inherit.customer.blacklist + + res.partner + + + + + + + + \ No newline at end of file diff --git a/customer_blacklist/views/sale_order_views.xml b/customer_blacklist/views/sale_order_views.xml new file mode 100644 index 000000000..9b4984e0c --- /dev/null +++ b/customer_blacklist/views/sale_order_views.xml @@ -0,0 +1,18 @@ + + + + + sale.order.view.form.inherit.customer.blacklist + + sale.order + + + + + + + + \ No newline at end of file diff --git a/customer_blacklist/views/website_layout_template.xml b/customer_blacklist/views/website_layout_template.xml new file mode 100644 index 000000000..6709b5ca9 --- /dev/null +++ b/customer_blacklist/views/website_layout_template.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + +