diff --git a/customer_supplier_approval/README.rst b/customer_supplier_approval/README.rst new file mode 100644 index 000000000..e901043ec --- /dev/null +++ b/customer_supplier_approval/README.rst @@ -0,0 +1,50 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Customer/Supplier Approval +========================== +* This module allows users to validate or approve customers/vendors + +Configuration +============= +* Add users to the three user groups + - Allow Validate Partner: can create and validate contacts + - Allow Approval Partner: can approve the validated contacts + - Administrator: can do both validation and approval of contacts + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +======= +GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) +(https://www.gnu.org/licenses/agpl.html) + +Credits +------- +* Developer: +(V16) Ruksana P, +(V17) Anjhana A K, +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/customer_supplier_approval/__init__.py b/customer_supplier_approval/__init__.py new file mode 100644 index 000000000..030d38aaa --- /dev/null +++ b/customer_supplier_approval/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author:Anjhana A K() +# 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 models diff --git a/customer_supplier_approval/__manifest__.py b/customer_supplier_approval/__manifest__.py new file mode 100644 index 000000000..c46c50d83 --- /dev/null +++ b/customer_supplier_approval/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author:Anjhana A K() +# 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': 'Customer/Supplier Approval', + 'version': '17.0.1.0.0', + 'category': 'Extra Tools', + 'summary': """This module allows users to validate or approve contacts """, + 'description': """By this module, you can grant access to users to + validate or approve partners. Then you will be able to select only + approved partners on sales orders, purchase orders, invoices, bills or + delivery orders.""", + 'author': ' Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': [ 'contacts', 'stock', 'sale_management', 'account', + 'purchase', ], + 'data': [ + 'security/customer_supplier_approval_groups.xml', + 'security/ir.model.access.csv', + 'views/res_partner_views.xml', + 'views/account_move_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/customer_supplier_approval/doc/RELEASE_NOTES.md b/customer_supplier_approval/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..11b6b1c2b --- /dev/null +++ b/customer_supplier_approval/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 28.11.2023 +#### Version 17.0.1.0.0 +##### ADD +- Initial Commit for Customer/Supplier Approval diff --git a/customer_supplier_approval/models/__init__.py b/customer_supplier_approval/models/__init__.py new file mode 100644 index 000000000..2c480d55a --- /dev/null +++ b/customer_supplier_approval/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author:Anjhana A K() +# 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 purchase_order +from . import res_partner +from . import stock_picking +from . import sale_order diff --git a/customer_supplier_approval/models/purchase_order.py b/customer_supplier_approval/models/purchase_order.py new file mode 100644 index 000000000..755c40ea0 --- /dev/null +++ b/customer_supplier_approval/models/purchase_order.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author:Anjhana A K() +# 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 PurchaseOrder(models.Model): + """Add domain value for field partner_id in purchase order model """ + _inherit = 'purchase.order' + + partner_id = fields.Many2one("res.partner", string='Vendor', + domain="[('state', '=', 'approved')]", + help="We can see the approved partner here") diff --git a/customer_supplier_approval/models/res_partner.py b/customer_supplier_approval/models/res_partner.py new file mode 100644 index 000000000..d80a993a9 --- /dev/null +++ b/customer_supplier_approval/models/res_partner.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author:Anjhana A K() +# 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, _ +from odoo.exceptions import ValidationError + + +class ResPartner(models.Model): + """ This class inherited to add some extra fields and functions in the + Partner """ + _inherit = 'res.partner' + + customer_supplier = fields.Char(string="Customer Supplier Id", + domain="[('state', '=', 'validated')]", + help="Unique id for partners") + is_hide_button = fields.Boolean(default=False, + string='Hide Approve Button', + help="TChecking the box enables to hide " + "the approve button") + is_hide_button_validate = fields.Boolean(default=False, + string='Hide Validate Button', + help="This boolean field is used " + "to hide the Validate button" + ) + state = fields.Selection([('draft', 'Draft'), ('validated', 'Validated'), + ('approved', 'Approved')], default='draft', + string='Status', + help="The status of contacts") + _sql_constraints = [ + ('id_uniq', 'unique (customer_supplier)', 'The partner id unique !') + ] + + def action_validate(self): + """ Method of button validate to validate customer or supplier """ + for rec in self: + rec.is_hide_button_validate = True + rec.write({'state': 'validated'}) + + def action_approve(self): + """ Method of button approve to approve customer or supplier """ + for rec in self: + rec.is_hide_button = True + rec.write({'state': 'approved'}) + + def write(self, values): + """ To raise validation error when validator changes the state""" + if 'state' in values: + new_state = values.get('state') + if new_state == 'approved' or self.state == 'approved': + if not self.env.user.has_group( + 'customer_supplier_approval.' + 'customer_supplier_approval_group_approval'): + raise ValidationError( + _("Only Manager can perform that move!")) + if new_state == 'validated' or self.state == 'draft': + if not self.env.user.has_group( + 'customer_supplier_approval.' + 'customer_supplier_approval_group_validation'): + raise ValidationError( + _("Only Managers can perform that move!")) + return super().write(values) diff --git a/customer_supplier_approval/models/sale_order.py b/customer_supplier_approval/models/sale_order.py new file mode 100644 index 000000000..c3bfac31d --- /dev/null +++ b/customer_supplier_approval/models/sale_order.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author:Anjhana A K() +# 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 SaleOrder(models.Model): + """ Add domain value for inherited fields """ + _inherit = 'sale.order' + + partner_id = fields.Many2one("res.partner", string='Customer', + domain="[('state', '=', 'approved')]", + help="We can see the approved partner here") diff --git a/customer_supplier_approval/models/stock_picking.py b/customer_supplier_approval/models/stock_picking.py new file mode 100644 index 000000000..da0406323 --- /dev/null +++ b/customer_supplier_approval/models/stock_picking.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author:Anjhana A K() +# 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 StockPicking(models.Model): + """ Add domain value for inherited fields """ + _inherit = 'stock.picking' + + partner_id = fields.Many2one("res.partner", + string='Receive From', + domain="[('state', '=', 'approved')]", + help="We can see the approved partner here") diff --git a/customer_supplier_approval/security/customer_supplier_approval_groups.xml b/customer_supplier_approval/security/customer_supplier_approval_groups.xml new file mode 100644 index 000000000..32e89c049 --- /dev/null +++ b/customer_supplier_approval/security/customer_supplier_approval_groups.xml @@ -0,0 +1,33 @@ + + + + + Partner Approval and Validation + User access level for validating and + approving + + 10 + + + + Allow Validate Partner + + + + + + Allow Approve Partner + + + + + + Administrator + + + + + diff --git a/customer_supplier_approval/security/ir.model.access.csv b/customer_supplier_approval/security/ir.model.access.csv new file mode 100644 index 000000000..255c69879 --- /dev/null +++ b/customer_supplier_approval/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_res_partner_validation,access.res.partner.validation,model_res_partner,customer_supplier_approval.customer_supplier_approval_group_validation,1,1,1,1 +access_res_partner_approval,access.res.partner.approval,model_res_partner,customer_supplier_approval.customer_supplier_approval_group_approval,1,1,1,1 +access_res_partner_admin,access.res.partner.admin,model_res_partner,customer_supplier_approval.customer_supplier_approval_group_admin,1,1,1,1 diff --git a/customer_supplier_approval/static/description/assets/icons/check.png b/customer_supplier_approval/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/check.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/chevron.png b/customer_supplier_approval/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/chevron.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/cogs.png b/customer_supplier_approval/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/cogs.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/consultation.png b/customer_supplier_approval/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/consultation.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/ecom-black.png b/customer_supplier_approval/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/ecom-black.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/education-black.png b/customer_supplier_approval/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/education-black.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/hotel-black.png b/customer_supplier_approval/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/hotel-black.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/license.png b/customer_supplier_approval/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/license.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/lifebuoy.png b/customer_supplier_approval/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/lifebuoy.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/manufacturing-black.png b/customer_supplier_approval/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/manufacturing-black.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/pos-black.png b/customer_supplier_approval/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/pos-black.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/puzzle.png b/customer_supplier_approval/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/puzzle.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/restaurant-black.png b/customer_supplier_approval/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/restaurant-black.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/service-black.png b/customer_supplier_approval/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/service-black.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/trading-black.png b/customer_supplier_approval/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/trading-black.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/training.png b/customer_supplier_approval/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/training.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/update.png b/customer_supplier_approval/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/update.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/user.png b/customer_supplier_approval/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/user.png differ diff --git a/customer_supplier_approval/static/description/assets/icons/wrench.png b/customer_supplier_approval/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/customer_supplier_approval/static/description/assets/icons/wrench.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/Cybrosys R.png b/customer_supplier_approval/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/Cybrosys R.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/categories.png b/customer_supplier_approval/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/categories.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/check-box.png b/customer_supplier_approval/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/check-box.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/compass.png b/customer_supplier_approval/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/compass.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/corporate.png b/customer_supplier_approval/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/corporate.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/customer-support.png b/customer_supplier_approval/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/customer-support.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/cybrosys-logo.png b/customer_supplier_approval/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/cybrosys-logo.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/email.svg b/customer_supplier_approval/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/customer_supplier_approval/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/customer_supplier_approval/static/description/assets/misc/features.png b/customer_supplier_approval/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/features.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/logo.png b/customer_supplier_approval/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/logo.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/phone.svg b/customer_supplier_approval/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/customer_supplier_approval/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/customer_supplier_approval/static/description/assets/misc/pictures.png b/customer_supplier_approval/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/pictures.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/pie-chart.png b/customer_supplier_approval/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/pie-chart.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/right-arrow.png b/customer_supplier_approval/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/right-arrow.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/star (1) 2.svg b/customer_supplier_approval/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/customer_supplier_approval/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/customer_supplier_approval/static/description/assets/misc/star.png b/customer_supplier_approval/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/star.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/support (1) 1.svg b/customer_supplier_approval/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/customer_supplier_approval/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/customer_supplier_approval/static/description/assets/misc/support-email.svg b/customer_supplier_approval/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/customer_supplier_approval/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/customer_supplier_approval/static/description/assets/misc/support.png b/customer_supplier_approval/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/support.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/tick-mark.svg b/customer_supplier_approval/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/customer_supplier_approval/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/customer_supplier_approval/static/description/assets/misc/whatsapp 1.svg b/customer_supplier_approval/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/customer_supplier_approval/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/customer_supplier_approval/static/description/assets/misc/whatsapp.png b/customer_supplier_approval/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/misc/whatsapp.png differ diff --git a/customer_supplier_approval/static/description/assets/misc/whatsapp.svg b/customer_supplier_approval/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/customer_supplier_approval/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/customer_supplier_approval/static/description/assets/modules/1.png b/customer_supplier_approval/static/description/assets/modules/1.png new file mode 100644 index 000000000..ba1058c42 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/1.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/2.png b/customer_supplier_approval/static/description/assets/modules/2.png new file mode 100644 index 000000000..6949185dd Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/2.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/3.png b/customer_supplier_approval/static/description/assets/modules/3.png new file mode 100644 index 000000000..4e506f79b Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/3.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/4.png b/customer_supplier_approval/static/description/assets/modules/4.png new file mode 100644 index 000000000..e78427938 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/4.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/5.gif b/customer_supplier_approval/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/5.gif differ diff --git a/customer_supplier_approval/static/description/assets/modules/5.png b/customer_supplier_approval/static/description/assets/modules/5.png new file mode 100755 index 000000000..272ec20f9 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/5.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/6.png b/customer_supplier_approval/static/description/assets/modules/6.png new file mode 100644 index 000000000..7d5c3154f Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/6.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/l2.png b/customer_supplier_approval/static/description/assets/modules/l2.png new file mode 100644 index 000000000..f40a0756d Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/l2.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/l3.png b/customer_supplier_approval/static/description/assets/modules/l3.png new file mode 100644 index 000000000..5738a486e Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/l3.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/l4.png b/customer_supplier_approval/static/description/assets/modules/l4.png new file mode 100644 index 000000000..8d99e8c68 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/l4.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/l5.png b/customer_supplier_approval/static/description/assets/modules/l5.png new file mode 100644 index 000000000..3415917c2 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/l5.png differ diff --git a/customer_supplier_approval/static/description/assets/modules/l6.png b/customer_supplier_approval/static/description/assets/modules/l6.png new file mode 100644 index 000000000..c7ea331ee Binary files /dev/null and b/customer_supplier_approval/static/description/assets/modules/l6.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/hero.gif b/customer_supplier_approval/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..68d9c23b6 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/hero.gif differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot1.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot1.png new file mode 100644 index 000000000..27a8d3025 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot1.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot10.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot10.png new file mode 100644 index 000000000..7c3dd9230 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot10.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot11.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot11.png new file mode 100644 index 000000000..022d184b5 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot11.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot2.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot2.png new file mode 100644 index 000000000..c315fbb94 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot2.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot3.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot3.png new file mode 100644 index 000000000..48fd15fde Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot3.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot4.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot4.png new file mode 100644 index 000000000..2f653cbed Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot4.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot5.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot5.png new file mode 100644 index 000000000..ab899eaf0 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot5.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot6.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot6.png new file mode 100644 index 000000000..244b921df Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot6.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot7.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot7.png new file mode 100644 index 000000000..5b6c8279b Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot7.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot8.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot8.png new file mode 100644 index 000000000..e1936aa82 Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot8.png differ diff --git a/customer_supplier_approval/static/description/assets/screenshots/screenshot9.png b/customer_supplier_approval/static/description/assets/screenshots/screenshot9.png new file mode 100644 index 000000000..3ce3e62bc Binary files /dev/null and b/customer_supplier_approval/static/description/assets/screenshots/screenshot9.png differ diff --git a/customer_supplier_approval/static/description/banner.jpg b/customer_supplier_approval/static/description/banner.jpg new file mode 100644 index 000000000..b306304f9 Binary files /dev/null and b/customer_supplier_approval/static/description/banner.jpg differ diff --git a/customer_supplier_approval/static/description/icon.png b/customer_supplier_approval/static/description/icon.png new file mode 100644 index 000000000..916b1fdad Binary files /dev/null and b/customer_supplier_approval/static/description/icon.png differ diff --git a/customer_supplier_approval/static/description/index.html b/customer_supplier_approval/static/description/index.html new file mode 100644 index 000000000..071e104e2 --- /dev/null +++ b/customer_supplier_approval/static/description/index.html @@ -0,0 +1,860 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Customer/Supplier Approval

+

+ Allows Users to validate or approve customers/vendors

+ +
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Users can decide which all customers/Suppliers + need to get approved

+

In this + module, you can give access for users to + validate + and approve when creating a new customer Only + approved customers will be + listed on sale orders, purchase orders, delivery + orders, customer + invoices, etc. When choosing the partner + dropdown menu. +

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

+ Validate button access for user

+

+ Go to Settings > Users there you can see + under Access Right + tab you can enable 'Allow Validate Partner' + under + Approval and Validation category

+
+
+
+
+
+
+ + +
+
+

+ Add VALIDATE button and statusbar in the + customer form view

+

+ Click on 'VALIDATE' button user can validate + the customer ,then + the state will change from draft to + validate.

+
+
+
+
+
+
+ + +
+
+

+ Approve button access for user

+

+ Go to Settings > Users there you can see + under Access Right tab + you can enable 'Allow Approve Partner' under + Approval and Validation category

+
+
+
+
+
+
+ + +
+
+

+ Add APPROVE button in customer form + view

+

+ Click on 'APPROVE' button user can approve + the customer ,then + the state will change from validate to + approve.User + can also generate id for customer +

+
+
+
+
+
+
+ + +
+
+

+ Administrator access

+

+ Go to Settings > Users there you can see under Access Right + tab you can enable 'Administrator' under Approval and + Validation category . Administrator has both validation + and approve access.

+
+
+
+
+
+
+ + +
+
+

+ Filter Kanban Customer

+

+ You can filter the state quickly from kanban customer. +

+
+
+
+
+
+
+ + +
+
+

+ Group by Kanban Customer

+

+ You can group by the state quickly from kanban customer. +

+
+
+
+
+
+
+ + +
+
+

+ Sale order form view

+

+ when creating a sale order only approved customers will be + listed in the customer dropdown +

+
+
+
+
+
+
+ + +
+
+

+ Purchase order form view

+

+ when creating a purchase order only approved vendors will be + listed in the vendor dropdown +

+
+
+
+
+
+
+ + +
+
+

+ Customer invoice form view

+

+ when creating a customer invoice only approved customers + will be listed in the customer dropdown +

+
+
+
+
+
+
+ + +
+
+

+ Inventory form view

+

+ when creating a delivery order only approved partners will + be listed in the partner dropdown +

+
+
+
+
+ +
+
+
    +
  • + Easily can set + approval or validation of + Customer/Supplier accesses user-wise. +
  • +
  • + Customers can + provide feedback in both ratings and comments +
  • +
  • + User can select + only approved Customer/Supplier. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:28th November 2023 +
+

+ + Initial Commit for Customer/Supplier Approval.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/customer_supplier_approval/views/account_move_views.xml b/customer_supplier_approval/views/account_move_views.xml new file mode 100644 index 000000000..910e4be45 --- /dev/null +++ b/customer_supplier_approval/views/account_move_views.xml @@ -0,0 +1,19 @@ + + + + + + account.move.view.form.inherit.customer.supplier.approval + + account.move + + + + [('type', '!=', 'private'), + ('company_id', 'in', (False, company_id)),('state', '=', + 'approved')] + + + + + diff --git a/customer_supplier_approval/views/res_partner_views.xml b/customer_supplier_approval/views/res_partner_views.xml new file mode 100644 index 000000000..0f492e031 --- /dev/null +++ b/customer_supplier_approval/views/res_partner_views.xml @@ -0,0 +1,70 @@ + + + + + + res.partner.view.form.inherit.customer.supplier.approval + + res.partner + + + +
+
+
+ + + + + +
+
+ + + + res.partner.view.kanban.inherit.customer.supplier.approval + + res.partner + + + + + + + + + + + + + res.partner.view.search.inherit.customer.supplier.approval + + res.partner + + + + + + + + + +