diff --git a/sales_target_vs_achievement/README.rst b/sales_target_vs_achievement/README.rst new file mode 100755 index 000000000..95cd6f5bb --- /dev/null +++ b/sales_target_vs_achievement/README.rst @@ -0,0 +1,49 @@ +.. image:: image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Sales Target VS Achievement +======================= +This module allow set Individual Salesperson Target and compute its achievement +and Sales Team target. + +Configuration +============= +The user should be added either to the security group: Sales Target Admin(Sales Target and Achievement) +or Users(Sales Target and Achievement) inorder to get access to the new menus. + +License +------- +Lesser General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: (V15) Mohammed Irfan T, Contact: odoo@cybrosys.com +Developer: (V16) Farha VC, 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/sales_target_vs_achievement/__init__.py b/sales_target_vs_achievement/__init__.py new file mode 100755 index 000000000..5afc6ef99 --- /dev/null +++ b/sales_target_vs_achievement/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Irfan T() +# +# 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 models diff --git a/sales_target_vs_achievement/__manifest__.py b/sales_target_vs_achievement/__manifest__.py new file mode 100755 index 000000000..0c61a30ed --- /dev/null +++ b/sales_target_vs_achievement/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Irfan T() +# +# 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": "Sales Target VS Achievement", + "version": "15.0.1.0.0", + 'category': 'Sales, CRM', + "summary": "Sales Target and Achievements based on Salesperson's " + "individual target", + "description": """Based on Salesperson's individual target, Sales Target + and Achievement calculation for Salesperson and CRM Sales Team""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'sale_management', 'crm', 'mail'], + 'data': ['security/sales_target_vs_achievement_groups.xml', + 'security/ir.model.access.csv', + 'views/target_achieve_views.xml', + 'views/crm_team_views.xml'], + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/sales_target_vs_achievement/doc/RELEASE_NOTES.md b/sales_target_vs_achievement/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..4033e3ba0 --- /dev/null +++ b/sales_target_vs_achievement/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 04.11.2024 +#### Version 15.0.1.0.0 +#### ADD + +- Initial commit for Sales Target VS Achievement diff --git a/sales_target_vs_achievement/models/__init__.py b/sales_target_vs_achievement/models/__init__.py new file mode 100755 index 000000000..2e048e42e --- /dev/null +++ b/sales_target_vs_achievement/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Irfan T() +# +# 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 crm_team +from . import target_achieve diff --git a/sales_target_vs_achievement/models/crm_team.py b/sales_target_vs_achievement/models/crm_team.py new file mode 100755 index 000000000..d044bc8fb --- /dev/null +++ b/sales_target_vs_achievement/models/crm_team.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Irfan T() +# +# 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 CrmTeam(models.Model): + """Inheriting CrmTeam class to set the Team Target and compute its value + based on the CRM Team member assigned""" + _inherit = 'crm.team' + + team_target = fields.Float(string="Team Target", + help="Automatically calculated value for every " + "Sales Team based on the individual " + "targets of the Salespersons") + + @api.model + def default_get(self, fields): + """Calculate the team target's value called from the onchange of + sale_user_id or user_target fields in target form""" + self.team_target = 0.0 + for record in self.env['target.achieve'].search([ + ('team_id', '=', self.id)]): + self.team_target = self.team_target + record.user_target + return super(CrmTeam, self).default_get(fields) diff --git a/sales_target_vs_achievement/models/target_achieve.py b/sales_target_vs_achievement/models/target_achieve.py new file mode 100755 index 000000000..7a56d9277 --- /dev/null +++ b/sales_target_vs_achievement/models/target_achieve.py @@ -0,0 +1,139 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mohammed Irfan T() +# +# 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 TargetAchieve(models.Model): + """Target Achieve class to set the target and compute its achievement + based on the span given for the CRM Team member and their Team""" + _name = 'target.achieve' + _inherit = ['mail.thread', 'mail.activity.mixin'] + _description = 'Target Achieve' + + name = fields.Char(string='Name', + help="Auto created name which is a combination" + " of Salesperson, timespan and team name.") + sale_user_id = fields.Many2one('crm.team.member', + string="Salesperson", required=True, + tracking=True, + help="Team member to whom the target is set") + user_target = fields.Float('Salesperson Target', required=True, + tracking=True, + help="Value for the personal target to reach.", + copy=False) + time_span = fields.Selection( + [('daily', 'Daily'), + ('monthly', 'Monthly'), + ('yearly', 'Yearly')], string='Time Span', default='monthly', + required=True, tracking=True, + help="The target can be set Daily/Monthly/Yearly with this field.") + team_id = fields.Many2one('crm.team', + related='sale_user_id.crm_team_id', + string="Sales Team", + help="Sales Team in which the user is a member.", + store=True) + team_target = fields.Float(string="Team Target", + compute='_compute_team_target', + help="Auto calculated value of Sales team.") + person_achieved_amt = fields.Float(string='Person Achieved Amount', + compute_sudo=True, + help="Auto calculated value taken from" + "sale orders for each Salesperson.", + compute='_compute_achieved_amt') + team_achieved_amt = fields.Float(string='Team Achieved Amount', + store=True, + compute_sudo=True, + help="Auto calculated value taken from" + "sale orders for each sales team.", + compute='_compute_achieved_amt') + currency_id = fields.Many2one('res.currency', + string='Currency', + default=lambda self: + self.env.company.currency_id, + help="Company currency field to show the" + " monetary field.") + _sql_constraints = [ + ('unique_combination', 'unique (name)', + "Similar Target for the same member already exists."), + ('check_user_target', + 'CHECK(user_target > 0.0)', + "The Salesperson Target cannot be zero.",), + ] + + @api.depends('sale_user_id', 'user_target') + def _compute_team_target(self): + """For every change in Salesperson and Target set, the Sales Team + Target is re-calculated and made visible in Sales Team view""" + for rec in self: + for team in self.env['crm.team'].browse(rec.team_id.id): + team.default_get('team_id') + rec.team_target = rec.team_target + rec.user_target + + def name_get(self): + """Set the rec_name so that the similar kind of Target setting + can be avoided""" + result = [] + for record in self: + record.name = record.sale_user_id.name + ':' + \ + record.time_span + ':' + record.team_id.name + result.append((record.id, record.name)) + return result + + @api.depends('sale_user_id', 'time_span', 'team_id') + def _compute_achieved_amt(self): + """Compute the Achieved sales amount for Member and Sales Team + separately based on the span selected""" + for rec in self: + rec.person_achieved_amt = rec.team_achieved_amt = 0.0 + if rec.time_span == 'daily': + daily_so = self.env['sale.order'].search( + [('state', '=', 'sale')]).filtered( + lambda x: x.date_order.date() == fields.Date.today()) + orders = daily_so + elif rec.time_span == 'monthly': + monthly_so = self.env['sale.order'].search( + [('state', '=', 'sale')]).filtered( + lambda x: x.date_order.date().month == fields.Date.today(). + month).filtered( + lambda x: x.date_order.date( + ).year == fields.Date.today().year) + orders = monthly_so + else: + yearly_so = self.env['sale.order'].search( + [('state', '=', 'sale')]).filtered( + lambda x: x.date_order.date( + ).year == fields.Date.today().year) + orders = yearly_so + for order in orders: + if order.user_id.id == rec.sale_user_id.user_id.id: + rec.person_achieved_amt = \ + rec.person_achieved_amt + order.amount_total + if order.team_id.id == rec.team_id.id: + rec.team_achieved_amt = \ + rec.team_achieved_amt + order.amount_total + + @api.ondelete(at_uninstall=False) + def delete_record(self): + """ Deletion of a record must reset the Sales Team target""" + for record in self: + record.team_id.update({ + 'team_target': record.team_id.team_target - record.user_target}) diff --git a/sales_target_vs_achievement/security/ir.model.access.csv b/sales_target_vs_achievement/security/ir.model.access.csv new file mode 100755 index 000000000..bb9415fb0 --- /dev/null +++ b/sales_target_vs_achievement/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +sales_target_vs_achievement_admin.access.target.achieve,access.target.achieve.admin,sales_target_vs_achievement.model_target_achieve,sales_target_vs_achievement.sales_target_vs_achievement_group_sales_target_admin,1,1,1,1 +sales_target_vs_achievement_user.access.target.achieve,access.target.achieve.user,sales_target_vs_achievement.model_target_achieve,sales_target_vs_achievement.sales_target_vs_achievement_group_sales_target_user,1,0,0,0 diff --git a/sales_target_vs_achievement/security/sales_target_vs_achievement_groups.xml b/sales_target_vs_achievement/security/sales_target_vs_achievement_groups.xml new file mode 100755 index 000000000..b8a0f2d1b --- /dev/null +++ b/sales_target_vs_achievement/security/sales_target_vs_achievement_groups.xml @@ -0,0 +1,21 @@ + + + + + Sales Target and Achievement + User access rights + 20 + + + + Sales Target Admin + + + + + Users + + + diff --git a/sales_target_vs_achievement/static/description/assets/icons/check.png b/sales_target_vs_achievement/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/check.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/chevron.png b/sales_target_vs_achievement/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/chevron.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/cogs.png b/sales_target_vs_achievement/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/cogs.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/consultation.png b/sales_target_vs_achievement/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/consultation.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/ecom-black.png b/sales_target_vs_achievement/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/ecom-black.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/education-black.png b/sales_target_vs_achievement/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/education-black.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/hotel-black.png b/sales_target_vs_achievement/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/hotel-black.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/license.png b/sales_target_vs_achievement/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/license.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/lifebuoy.png b/sales_target_vs_achievement/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/lifebuoy.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/manufacturing-black.png b/sales_target_vs_achievement/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/manufacturing-black.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/pos-black.png b/sales_target_vs_achievement/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/pos-black.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/puzzle.png b/sales_target_vs_achievement/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/puzzle.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/restaurant-black.png b/sales_target_vs_achievement/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/restaurant-black.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/service-black.png b/sales_target_vs_achievement/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/service-black.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/trading-black.png b/sales_target_vs_achievement/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/trading-black.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/training.png b/sales_target_vs_achievement/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/training.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/update.png b/sales_target_vs_achievement/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/update.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/user.png b/sales_target_vs_achievement/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/user.png differ diff --git a/sales_target_vs_achievement/static/description/assets/icons/wrench.png b/sales_target_vs_achievement/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/wrench.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/categories.png b/sales_target_vs_achievement/static/description/assets/misc/categories.png new file mode 100755 index 000000000..bedf1e0b1 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/categories.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/check-box.png b/sales_target_vs_achievement/static/description/assets/misc/check-box.png new file mode 100755 index 000000000..42caf24b9 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/check-box.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/compass.png b/sales_target_vs_achievement/static/description/assets/misc/compass.png new file mode 100755 index 000000000..d5fed8faa Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/compass.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/corporate.png b/sales_target_vs_achievement/static/description/assets/misc/corporate.png new file mode 100755 index 000000000..2eb13edbf Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/corporate.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/customer-support.png b/sales_target_vs_achievement/static/description/assets/misc/customer-support.png new file mode 100755 index 000000000..79efc72ed Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/customer-support.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/cybrosys-logo.png b/sales_target_vs_achievement/static/description/assets/misc/cybrosys-logo.png new file mode 100755 index 000000000..cc3cc0ccf Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/cybrosys-logo.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/features.png b/sales_target_vs_achievement/static/description/assets/misc/features.png new file mode 100755 index 000000000..b41769f77 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/features.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/logo.png b/sales_target_vs_achievement/static/description/assets/misc/logo.png new file mode 100755 index 000000000..478462d3e Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/logo.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/pictures.png b/sales_target_vs_achievement/static/description/assets/misc/pictures.png new file mode 100755 index 000000000..56d255fe9 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/pictures.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/pie-chart.png b/sales_target_vs_achievement/static/description/assets/misc/pie-chart.png new file mode 100755 index 000000000..426e05244 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/pie-chart.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/right-arrow.png b/sales_target_vs_achievement/static/description/assets/misc/right-arrow.png new file mode 100755 index 000000000..730984a06 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/right-arrow.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/star.png b/sales_target_vs_achievement/static/description/assets/misc/star.png new file mode 100755 index 000000000..2eb9ab29f Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/star.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/support.png b/sales_target_vs_achievement/static/description/assets/misc/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/support.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/whatsapp.png b/sales_target_vs_achievement/static/description/assets/misc/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/whatsapp.png differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/barcode_scanning_sale_purchase.png b/sales_target_vs_achievement/static/description/assets/modules/barcode_scanning_sale_purchase.png new file mode 100755 index 000000000..04d502e26 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/barcode_scanning_sale_purchase.png differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/sale_customer_product_history.png b/sales_target_vs_achievement/static/description/assets/modules/sale_customer_product_history.png new file mode 100755 index 000000000..84a21072b Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/sale_customer_product_history.png differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/sale_discount_total.png b/sales_target_vs_achievement/static/description/assets/modules/sale_discount_total.png new file mode 100755 index 000000000..004c61a9e Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/sale_discount_total.png differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/sale_order_line_multi_warehouse.png b/sales_target_vs_achievement/static/description/assets/modules/sale_order_line_multi_warehouse.png new file mode 100755 index 000000000..45c4faa1b Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/sale_order_line_multi_warehouse.png differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/sale_product_image.png b/sales_target_vs_achievement/static/description/assets/modules/sale_product_image.png new file mode 100755 index 000000000..09e2d45b2 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/sale_product_image.png differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/sale_report_advanced.png b/sales_target_vs_achievement/static/description/assets/modules/sale_report_advanced.png new file mode 100755 index 000000000..1c019bdd8 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/sale_report_advanced.png differ diff --git a/sales_target_vs_achievement/static/description/assets/screenshots/1.png b/sales_target_vs_achievement/static/description/assets/screenshots/1.png new file mode 100755 index 000000000..844d8f3f9 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/screenshots/1.png differ diff --git a/sales_target_vs_achievement/static/description/assets/screenshots/2.png b/sales_target_vs_achievement/static/description/assets/screenshots/2.png new file mode 100755 index 000000000..5412a08b4 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/screenshots/2.png differ diff --git a/sales_target_vs_achievement/static/description/assets/screenshots/3.png b/sales_target_vs_achievement/static/description/assets/screenshots/3.png new file mode 100755 index 000000000..9e3bd8561 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/screenshots/3.png differ diff --git a/sales_target_vs_achievement/static/description/assets/screenshots/4.png b/sales_target_vs_achievement/static/description/assets/screenshots/4.png new file mode 100755 index 000000000..688485400 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/screenshots/4.png differ diff --git a/sales_target_vs_achievement/static/description/assets/screenshots/5.png b/sales_target_vs_achievement/static/description/assets/screenshots/5.png new file mode 100755 index 000000000..5995ab158 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/screenshots/5.png differ diff --git a/sales_target_vs_achievement/static/description/assets/screenshots/6.png b/sales_target_vs_achievement/static/description/assets/screenshots/6.png new file mode 100755 index 000000000..fdb0af912 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/screenshots/6.png differ diff --git a/sales_target_vs_achievement/static/description/assets/screenshots/7.png b/sales_target_vs_achievement/static/description/assets/screenshots/7.png new file mode 100755 index 000000000..0572bbea3 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/screenshots/7.png differ diff --git a/sales_target_vs_achievement/static/description/assets/screenshots/hero.gif b/sales_target_vs_achievement/static/description/assets/screenshots/hero.gif new file mode 100755 index 000000000..b7da81d6a Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/screenshots/hero.gif differ diff --git a/sales_target_vs_achievement/static/description/banner.png b/sales_target_vs_achievement/static/description/banner.png new file mode 100755 index 000000000..359bc9c5b Binary files /dev/null and b/sales_target_vs_achievement/static/description/banner.png differ diff --git a/sales_target_vs_achievement/static/description/icon.png b/sales_target_vs_achievement/static/description/icon.png new file mode 100755 index 000000000..4b9dcced0 Binary files /dev/null and b/sales_target_vs_achievement/static/description/icon.png differ diff --git a/sales_target_vs_achievement/static/description/index.html b/sales_target_vs_achievement/static/description/index.html new file mode 100755 index 000000000..bba6589b9 --- /dev/null +++ b/sales_target_vs_achievement/static/description/index.html @@ -0,0 +1,721 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ SALES TARGET VS ACHIEVEMENT +

+

+ Sales Target And Achievement Calculation For Salesperson And + CRM Sales + Team

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module is customized to set sales team target according to the + needed time span and calculate the achievement of the sales against the + target. By considering the business terms and roles, Manager can set the + target for the individual Salesperson for the needed period of time + span. + There can be various kinds of needs where these target and achievement + can be analysed based on the business needs of a company. The required + functionality can be customized very easily with this module's + structure. + +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Available in Odoo 15.0 + Community, Enterprise and Odoo.sh. +
+
+ + Sales Target setting for Salesperson +
+
+ + Automated calculation of Team Target +
+
+
+
+ + Based on Salesperson's individual target, + Sales Team Target and Achievement calculation +
+ + +
+ + Customizable graphical report of + Target and Achievement +
+ +
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Set the Access group needed for the User. +

+

+ The Manager can be set to allow all operations by selecting the + 'Sales Target Admin'. +

+ +
+ +
+

+ Menu to set the Sales Target +

+

+ From CRM -> Sales Target -> User Target Achieved Details, we can + set the + Sales Target for individual Salesperson +

+ +
+ +
+

+ Target Details +

+

+ We can choose the Salesperson from the 'Salesperson' field and as + a + result, their Team name will be automatically populated in the + 'Sales + Team' field. Additionally, the users can specify the Target + Amount in + the 'Salesperson Target' and select a Time Span.

+ +
+ +
+

+ Computing the Achievement Value +

+

+ We can get the Achieved Sales Amount for both the + Salesperson and the Sales Team separately. +

+

+ The Salesperson Achieved Amount can be viewed from the menu +
Sales Target -> Target Vs Achievement User

+ +
+

+ The Sales Team Achieved Amount can be viewed from the menu +
+ Sales Target -> Target Vs Achievement Team

+ +
+ +
+

+ Target for Sales Team +

+

+ We can see the Team Target calculated automatically from + the individual Salesperson Target who are in the same Team. +

+ +
+ +
+

+ Target and Achievement Report based on the individual Target + details +

+

+ Various kinds of reports can be viewed based on the Target + Amount of each Team and Salesperson

+ +
+

+
+
+ + + + + +
+
+

Suggested 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/sales_target_vs_achievement/views/crm_team_views.xml b/sales_target_vs_achievement/views/crm_team_views.xml new file mode 100755 index 000000000..6ad3ca1d4 --- /dev/null +++ b/sales_target_vs_achievement/views/crm_team_views.xml @@ -0,0 +1,21 @@ + + + + + + crm.team.view.form.inherit.sales.target.vs.achievement + + crm.team + + + + + + + + + + + diff --git a/sales_target_vs_achievement/views/target_achieve_views.xml b/sales_target_vs_achievement/views/target_achieve_views.xml new file mode 100755 index 000000000..728d7b231 --- /dev/null +++ b/sales_target_vs_achievement/views/target_achieve_views.xml @@ -0,0 +1,148 @@ + + + + + target.achieve.view.tree.user + target.achieve + + + + + + + + + + + + + + + target.achieve.view.tree.team + target.achieve + + + + + + + + + + + + + + + + target.achieve.view.form + target.achieve + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ + + target.achieve.view.search + target.achieve + + + + + + + + + + + + + target.achieve.view.graph + target.achieve + graph + + + + + + + + + + + User Target Achieved Details + target.achieve + {"search_default_user":1} + + tree + + + + Team Target Achieved Details + target.achieve + {"search_default_team":1} + + tree + + + + Target Achieve Graph + ir.actions.act_window + target.achieve + graph + + + + + + +