diff --git a/sales_target_vs_achievement/README.rst b/sales_target_vs_achievement/README.rst new file mode 100755 index 000000000..704106a5c --- /dev/null +++ b/sales_target_vs_achievement/README.rst @@ -0,0 +1,50 @@ +.. 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: (V17) Adarsh K, + (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 100644 index 000000000..097bdb395 --- /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: Cybrosys Techno Solutions() +# +# 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 100644 index 000000000..27c8a87ba --- /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: Cybrosys Techno Solutions() +# +# 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": "17.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.jpg'], + '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 100644 index 000000000..cf1bdc289 --- /dev/null +++ b/sales_target_vs_achievement/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 24.09.2024 +#### Version 17.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 100644 index 000000000..ce7db889f --- /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: Cybrosys Techno Solutions() +# +# 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 100644 index 000000000..66c5f42ea --- /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: Cybrosys Techno Solutions() +# +# 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 100644 index 000000000..1a3ddbbb2 --- /dev/null +++ b/sales_target_vs_achievement/models/target_achieve.py @@ -0,0 +1,129 @@ +# -*- 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 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', compute='_compute_name', store=True, + 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', + store=True, + 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 + + @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 + domain = [('state', '=', 'sale')] + if rec.time_span == 'daily': + domain.append( + ('date_order', '>=', fields.Date.today())) + elif rec.time_span == 'monthly': + domain.append( + ('date_order', '>=', fields.Date.today().replace(day=1))) + elif rec.time_span == 'yearly': + domain.append( + ('date_order', '>=', fields.Date.today().replace(month=1, day=1))) + + orders = self.env['sale.order'].search(domain) + + for order in orders: + if order.user_id.id == rec.sale_user_id.user_id.id: + rec.person_achieved_amt += order.amount_total + if order.team_id.id == rec.team_id.id: + rec.team_achieved_amt += order.amount_total + + @api.depends('sale_user_id', 'time_span', 'team_id') + def _compute_name(self): + """Compute the rec_name so that the similar kind of Target setting + can be avoided""" + for record in self: + record.name = f"{record.sale_user_id.name}:{record.team_id.name}" + + @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 100644 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 100644 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/capture (1).png b/sales_target_vs_achievement/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/capture (1).png differ 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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/img.png b/sales_target_vs_achievement/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/img.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 100644 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 100644 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 100644 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/photo-capture.png b/sales_target_vs_achievement/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/icons/photo-capture.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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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/Cybrosys R.png b/sales_target_vs_achievement/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/misc/Cybrosys R.png differ diff --git a/sales_target_vs_achievement/static/description/assets/misc/email.svg b/sales_target_vs_achievement/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/sales_target_vs_achievement/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sales_target_vs_achievement/static/description/assets/misc/phone.svg b/sales_target_vs_achievement/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/sales_target_vs_achievement/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/sales_target_vs_achievement/static/description/assets/misc/star (1) 2.svg b/sales_target_vs_achievement/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/sales_target_vs_achievement/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sales_target_vs_achievement/static/description/assets/misc/support (1) 1.svg b/sales_target_vs_achievement/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/sales_target_vs_achievement/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sales_target_vs_achievement/static/description/assets/misc/support-email.svg b/sales_target_vs_achievement/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/sales_target_vs_achievement/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/sales_target_vs_achievement/static/description/assets/misc/tick-mark.svg b/sales_target_vs_achievement/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/sales_target_vs_achievement/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/sales_target_vs_achievement/static/description/assets/misc/whatsapp 1.svg b/sales_target_vs_achievement/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/sales_target_vs_achievement/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sales_target_vs_achievement/static/description/assets/misc/whatsapp.svg b/sales_target_vs_achievement/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/sales_target_vs_achievement/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sales_target_vs_achievement/static/description/assets/modules/1.jpg b/sales_target_vs_achievement/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..d6b1fe049 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/1.jpg differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/2.jpg b/sales_target_vs_achievement/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/2.jpg differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/3.jpg b/sales_target_vs_achievement/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..5bf8e7b03 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/3.jpg differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/4.jpg b/sales_target_vs_achievement/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..87c2bb2ba Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/4.jpg differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/5.png b/sales_target_vs_achievement/static/description/assets/modules/5.png new file mode 100644 index 000000000..87bb832e6 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/5.png differ diff --git a/sales_target_vs_achievement/static/description/assets/modules/6.gif b/sales_target_vs_achievement/static/description/assets/modules/6.gif new file mode 100644 index 000000000..ae3a880a2 Binary files /dev/null and b/sales_target_vs_achievement/static/description/assets/modules/6.gif 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 100644 index 000000000..7118a1e5e 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 100644 index 000000000..7188adc2e 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 100644 index 000000000..b88be4730 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 100644 index 000000000..1fca29cdf 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 100644 index 000000000..20f1a50dd 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 100644 index 000000000..96bbe0c7a 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 100644 index 000000000..9dc360313 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 100644 index 000000000..e6d07c858 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.jpg b/sales_target_vs_achievement/static/description/banner.jpg new file mode 100644 index 000000000..5493a5946 Binary files /dev/null and b/sales_target_vs_achievement/static/description/banner.jpg differ diff --git a/sales_target_vs_achievement/static/description/icon.png b/sales_target_vs_achievement/static/description/icon.png new file mode 100644 index 000000000..123ee8997 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 100644 index 000000000..7a5496669 --- /dev/null +++ b/sales_target_vs_achievement/static/description/index.html @@ -0,0 +1,655 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ SALES TARGET VS ACHIEVEMENT

+

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

+
+ +
+
+
+
+
+

Key Highlights +

+
+
+
+
+
+ +
+
+

Customizable Target Setting.

+

The module allows the sales team to set targets according to the required time span and calculate achievements against these targets. +

+
+
+
+
+
+
+ +
+
+

Managerial Control and Flexibility.

+

Managers can assign individual targets to Salespersons based on their roles and business terms, providing flexibility to define targets for various time periods. +

+
+
+
+
+
+
+ +
+
+

Target and Achievement Analysis.

+

This feature enables businesses to analyze targets and achievements based on their specific business needs, helping to assess performance in different scenarios. +

+
+
+
+
+
+
+ +
+
+

Easily Customizable.

+

The module structure is designed to be flexible and easily customizable to adapt to the unique requirements of a business. +

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

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

+
+
+
+
+
+
+ +
+
+

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

+
+
+
+
+
+
+ +
+
+

+ 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.

+
+
+
+
+
+
+ +
+
+

+ 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.

+
+
+
+
+
+
+ +
+
+

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

+
+
+
+
+
+
+ +
+
+

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

+
+
+
+
+
+
+
    +
  • + Available in Odoo 17.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 +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:24th September 2024 +
+

+ Initial commit for Sales Target VS Achievement.

+
+
+
+
+
+
+
+

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/sales_target_vs_achievement/views/crm_team_views.xml b/sales_target_vs_achievement/views/crm_team_views.xml new file mode 100644 index 000000000..550f1f359 --- /dev/null +++ b/sales_target_vs_achievement/views/crm_team_views.xml @@ -0,0 +1,18 @@ + + + + + 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 100644 index 000000000..96a4b429f --- /dev/null +++ b/sales_target_vs_achievement/views/target_achieve_views.xml @@ -0,0 +1,150 @@ + + + + + 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 + + + + + + +