diff --git a/project_website_kanban_view/README.rst b/project_website_kanban_view/README.rst new file mode 100644 index 000000000..f9973c738 --- /dev/null +++ b/project_website_kanban_view/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Website Project Kanban View +=========================== +This module is used for viewing kanban view of Project in Website + +Configuration +============= +- Additional configuration not required + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developers: (V17) Fathima Mazlin AM, + (V16) Anfas Faisal K, +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/project_website_kanban_view/__init__.py b/project_website_kanban_view/__init__.py new file mode 100644 index 000000000..8e9b9cbbd --- /dev/null +++ b/project_website_kanban_view/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM (odoo@cybrosys.info) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import controllers +from . import models diff --git a/project_website_kanban_view/__manifest__.py b/project_website_kanban_view/__manifest__.py new file mode 100644 index 000000000..66c4e8225 --- /dev/null +++ b/project_website_kanban_view/__manifest__.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM (odoo@cybrosys.info) +# +# 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': 'Website Project Kanban View', + 'version': '15.0.1.0.0', + 'category': 'Website', + 'summary': 'Project & Task kanban view in Website', + 'description': "This module introduce kanban view for " + "project and their related task on website. it will show " + "the progress of each task based on their stage and due " + "date. ", + 'author': "Cybrosys Techno Solutions", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['project', 'website'], + 'data': [ + 'data/ir_config_parameter_data.xml', + 'views/kanban_view_project_templates.xml', + 'views/kanban_view_task_templates.xml', + 'views/res_config_settings_view.xml' + ], + 'assets': { + 'web.assets_frontend': [ + '/project_website_kanban_view/static/src/css/style.css', + ], + }, + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/project_website_kanban_view/controllers/__init__.py b/project_website_kanban_view/controllers/__init__.py new file mode 100644 index 000000000..b48d11d82 --- /dev/null +++ b/project_website_kanban_view/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM (odoo@cybrosys.info) +# +# 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 project_website_kanban_view diff --git a/project_website_kanban_view/controllers/project_website_kanban_view.py b/project_website_kanban_view/controllers/project_website_kanban_view.py new file mode 100644 index 000000000..0ca493a17 --- /dev/null +++ b/project_website_kanban_view/controllers/project_website_kanban_view.py @@ -0,0 +1,239 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM (odoo@cybrosys.info) +# +# 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 collections import OrderedDict +from odoo import http, _ +from odoo.exceptions import ValidationError +from odoo.http import request +from odoo.osv.expression import OR, AND +from odoo.tools import groupby as groupbyelem +from operator import itemgetter +from odoo.addons.portal.controllers.portal import CustomerPortal, \ + pager as portal_pager + + +class ProjectCustomerPortal(CustomerPortal): + """ + This class extends the CustomerPortal class in Odoo and provides + custom functionality for managing projects and tasks from the + customer portal.# def _project_get_page_view_values(self, project, access_token, page=1, + # date_begin=None, date_end=None, + # sortby=None, search=None, + # search_in='content', groupby=None, + # **kwargs): + # res = super(ProjectCustomerPortal, self)._project_get_page_view_values( + # project, access_token, page=page, + # date_begin=date_begin, date_end=date_end, + # sortby=sortby, search=search, + # search_in=search_in, groupby=groupby, + # **kwargs) + # print("thuis", self._items_per_page) + # task_per_page = int( + # request.env['ir.config_parameter'].sudo().get_param( + # "project_website_kanban_view.task_per_pager")) + # self._items_per_page = task_per_page + # if task_per_page == 0: + # raise ValidationError(_( + # "Task per page cannot be 0. Please configure a valid value.")) + # return res + """ + + @http.route(['/my/project/', + '/my/project//page/', + '/my/project//task/', + '/my/project//project_sharing'], type='http', + auth="public") + def portal_project_routes_outdated(self, **kwargs): + """ Redirect the outdated routes to the new routes. """ + return request.redirect( + request.httprequest.full_path.replace('/my/project/', + '/my/projects/')) + + @http.route(['/my/projects', '/my/projects/page/'], type='http', + auth="user", website=True) + def portal_my_projects( + self, page=1, date_begin=None, date_end=None, sortby=None, + viewtype='kanban', **kw): + """ + Route to display a list of projects for the logged-in user in the + customer portal. + :param page: Current page number. + :param date_begin: Beginning of date range filter. + :param date_end: End of date range filter. + :param sortby: Sorting option. + :param viewtype: Type of view to display (e.g., kanban). + :return: + """ + res = super( + ProjectCustomerPortal, self).portal_my_projects( + page=page, date_begin=date_begin, date_end=date_end, sortby=sortby, + viewtype='kanban', + **kw) + task_per_page = int( + request.env['ir.config_parameter'].sudo().get_param( + "project_website_kanban_view.task_per_pager")) + self._items_per_page = task_per_page + res.qcontext.update({'viewtype': viewtype}) + return res + + @http.route(['/my/projects/', + '/my/projects//page/'], type='http', + auth="public", website=True) + def portal_my_project(self, project_id=None, access_token=None, page=1, + date_begin=None, date_end=None, sortby=None, + search=None, search_in='content', groupby=None, + task_id=None, viewtype='kanban', **kw): + """ + Route to display a specific project and its details in the customer + portal. + :param project_id: ID of the project to display. + :param access_token: Access token for security. + :param page: Current page number. + :param date_begin: Beginning of date range filter. + :param date_end: End of date range filter. + :param sortby: Sorting option. + :param search: Search keyword. + :param search_in: Field to search in (e.g., content). + :param groupby: Grouping option. + :param task_id: ID of the task within the project. + :param viewtype: Type of view to display (e.g., kanban). + :return: HTTP response with the project details. + """ + res = super(ProjectCustomerPortal, self).portal_my_project( + project_id=project_id, access_token=access_token, page=page, + date_begin=date_begin, date_end=date_end, sortby=sortby, + search=search, search_in=search_in, groupby=groupby, + task_id=task_id, viewtype='kanban', **kw) + res.qcontext.update({'viewtype': viewtype}) + task_per_page = int( + request.env['ir.config_parameter'].sudo().get_param( + "project_website_kanban_view.task_per_pager")) + self._items_per_page = task_per_page + return res + + @http.route(['/my/tasks', '/my/tasks/page/'], type='http', + auth="user", website=True) + def portal_my_tasks(self, page=1, date_begin=None, date_end=None, + sortby=None, filterby=None, search=None, + search_in='content', groupby=None, viewtype='kanban', + **kw): + """ + Route to display a list of tasks for the logged-in user in the + customer portal. + :param page: Current page number. + :param date_begin: Beginning of date range filter. + :param date_end: End of date range filter. + :param sortby: Sorting option. + :param filterby: Filter option. + :param search: Search keyword. + :param search_in: Field to search in (e.g., content). + :param groupby: Grouping option. + :param viewtype: Type of view to display (e.g., kanban). + :return: HTTP response with the project details. + """ + + res = super(ProjectCustomerPortal, self).portal_my_tasks( + page=page, date_begin=date_begin, date_end=date_end, + sortby=sortby, filterby=filterby, search=search, + search_in=search_in, groupby=groupby, viewtype=viewtype, **kw) + task_per_page = int( + request.env['ir.config_parameter'].sudo().get_param( + "project_website_kanban_view.task_per_pager")) + self._items_per_page = task_per_page + searchbar_sortings = dict( + sorted(self._task_get_searchbar_sortings().items(), + key=lambda item: item[1]["sequence"])) + searchbar_filters = { + 'all': {'label': _('All'), 'domain': [('project_id', '!=', False)]}, + } + projects = request.env['project.project'].search([]) + for project in projects: + searchbar_filters.update({ + str(project.id): {'label': project.name, + 'domain': [('project_id', '=', project.id)]} + }) + project_groups = request.env['project.task'].read_group( + [('project_id', 'not in', projects.ids)], + ['project_id'], ['project_id']) + for group in project_groups: + proj_id = group['project_id'][0] if group['project_id'] else False + proj_name = group['project_id'][1] if group['project_id'] else _( + 'Others') + searchbar_filters.update({ + str(proj_id): {'label': proj_name, + 'domain': [('project_id', '=', proj_id)]} + }) + if not sortby: + sortby = 'date' + order = searchbar_sortings[sortby]['order'] + if not filterby: + filterby = 'all' + domain = searchbar_filters.get(filterby, searchbar_filters.get('all'))[ + 'domain'] + if not groupby: + groupby = 'project' + if date_begin and date_end: + domain += [('create_date', '>', date_begin), + ('create_date', '<=', date_end)] + if search and search_in: + domain += self._task_get_search_domain(search_in, search) + TaskSudo = request.env['project.task'].sudo() + domain = AND([domain, + request.env['ir.rule']._compute_domain(TaskSudo._name, + 'read')]) + task_count = TaskSudo.search_count(domain) + pager = portal_pager( + url="/my/tasks", + url_args={'date_begin': date_begin, 'date_end': date_end, + 'sortby': sortby, 'filterby': filterby, + 'groupby': groupby, 'search_in': search_in, + 'search': search, 'viewtype': viewtype}, + total=task_count, + page=page, + step=self._items_per_page + ) + order = self._task_get_order(order, groupby) + tasks = TaskSudo.search(domain, order=order, limit=self._items_per_page, + offset=pager['offset']) + request.session['my_tasks_history'] = tasks.ids[:100] + groupby_mapping = self._task_get_groupby_mapping() + group = groupby_mapping.get(groupby) + if group: + grouped_tasks = [request.env['project.task'].concat(*g) for k, g in + groupbyelem(tasks, itemgetter(group))] + else: + grouped_tasks = [tasks] if tasks else [] + task_states = dict(request.env['project.task']._fields[ + 'kanban_state']._description_selection( + request.env)) + if sortby == 'status': + if groupby == 'none' and grouped_tasks: + grouped_tasks[0] = grouped_tasks[0].sorted( + lambda tasks: task_states.get(tasks.kanban_state)) + else: + grouped_tasks.sort( + key=lambda tasks: task_states.get(tasks[0].kanban_state)) + res.qcontext.update({ + 'viewtype': viewtype, + "pager": pager + }) + return res + diff --git a/project_website_kanban_view/data/ir_config_parameter_data.xml b/project_website_kanban_view/data/ir_config_parameter_data.xml new file mode 100644 index 000000000..fccf840ee --- /dev/null +++ b/project_website_kanban_view/data/ir_config_parameter_data.xml @@ -0,0 +1,10 @@ + + + + + + project_website_kanban_view.task_per_pager + 80 + + + diff --git a/project_website_kanban_view/doc/RELEASE_NOTES.md b/project_website_kanban_view/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..10d00f096 --- /dev/null +++ b/project_website_kanban_view/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 05.06.2024 +#### Version 15.0.1.0.0 +#### ADD + +- Initial commit for Website Project Kanban View diff --git a/project_website_kanban_view/models/__init__.py b/project_website_kanban_view/models/__init__.py new file mode 100644 index 000000000..dc61a07e6 --- /dev/null +++ b/project_website_kanban_view/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM (odoo@cybrosys.info) +# +# 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 res_config_settings diff --git a/project_website_kanban_view/models/res_config_settings.py b/project_website_kanban_view/models/res_config_settings.py new file mode 100644 index 000000000..ffee32d3c --- /dev/null +++ b/project_website_kanban_view/models/res_config_settings.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM (odoo@cybrosys.info) +# +# 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 ResConfigSettings(models.TransientModel): + """ + This class extends the 'res.config.settings' model to add a new + configuration parameter for controlling the number of tasks per page in the + kanban view. + """ + _inherit = 'res.config.settings' + + task_per_pager = fields.Integer( + string="Task per page in Kanban View", + help="Minimum number of tasks per page.", + config_parameter='project_website_kanban_view.task_per_pager') diff --git a/project_website_kanban_view/static/description/assets/icons/check.png b/project_website_kanban_view/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/check.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/chevron.png b/project_website_kanban_view/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/chevron.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/cogs.png b/project_website_kanban_view/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/cogs.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/consultation.png b/project_website_kanban_view/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/consultation.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/ecom-black.png b/project_website_kanban_view/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/ecom-black.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/education-black.png b/project_website_kanban_view/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/education-black.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/hotel-black.png b/project_website_kanban_view/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/hotel-black.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/license.png b/project_website_kanban_view/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/license.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/lifebuoy.png b/project_website_kanban_view/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/lifebuoy.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/manufacturing-black.png b/project_website_kanban_view/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/manufacturing-black.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/pos-black.png b/project_website_kanban_view/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/pos-black.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/puzzle.png b/project_website_kanban_view/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/puzzle.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/restaurant-black.png b/project_website_kanban_view/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/restaurant-black.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/service-black.png b/project_website_kanban_view/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/service-black.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/trading-black.png b/project_website_kanban_view/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/trading-black.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/training.png b/project_website_kanban_view/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/training.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/update.png b/project_website_kanban_view/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/update.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/user.png b/project_website_kanban_view/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/user.png differ diff --git a/project_website_kanban_view/static/description/assets/icons/wrench.png b/project_website_kanban_view/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/project_website_kanban_view/static/description/assets/icons/wrench.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/categories.png b/project_website_kanban_view/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/categories.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/check-box.png b/project_website_kanban_view/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/check-box.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/compass.png b/project_website_kanban_view/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/compass.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/corporate.png b/project_website_kanban_view/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/corporate.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/customer-support.png b/project_website_kanban_view/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/customer-support.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/cybrosys-logo.png b/project_website_kanban_view/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/cybrosys-logo.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/features.png b/project_website_kanban_view/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/features.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/logo.png b/project_website_kanban_view/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/logo.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/pictures.png b/project_website_kanban_view/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/pictures.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/pie-chart.png b/project_website_kanban_view/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/pie-chart.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/right-arrow.png b/project_website_kanban_view/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/right-arrow.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/star.png b/project_website_kanban_view/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/star.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/support.png b/project_website_kanban_view/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/support.png differ diff --git a/project_website_kanban_view/static/description/assets/misc/whatsapp.png b/project_website_kanban_view/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/misc/whatsapp.png differ diff --git a/project_website_kanban_view/static/description/assets/modules/delivery_date_ecommerce.png b/project_website_kanban_view/static/description/assets/modules/delivery_date_ecommerce.png new file mode 100644 index 000000000..5856d1b7e Binary files /dev/null and b/project_website_kanban_view/static/description/assets/modules/delivery_date_ecommerce.png differ diff --git a/project_website_kanban_view/static/description/assets/modules/openai_website_product_media.png b/project_website_kanban_view/static/description/assets/modules/openai_website_product_media.png new file mode 100644 index 000000000..5c172b9ab Binary files /dev/null and b/project_website_kanban_view/static/description/assets/modules/openai_website_product_media.png differ diff --git a/project_website_kanban_view/static/description/assets/modules/product_brand_ecommerce.png b/project_website_kanban_view/static/description/assets/modules/product_brand_ecommerce.png new file mode 100644 index 000000000..ae3e11bff Binary files /dev/null and b/project_website_kanban_view/static/description/assets/modules/product_brand_ecommerce.png differ diff --git a/project_website_kanban_view/static/description/assets/modules/website_multi_variant.png b/project_website_kanban_view/static/description/assets/modules/website_multi_variant.png new file mode 100644 index 000000000..b64b96d92 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/modules/website_multi_variant.png differ diff --git a/project_website_kanban_view/static/description/assets/modules/website_repeat_sale.png b/project_website_kanban_view/static/description/assets/modules/website_repeat_sale.png new file mode 100644 index 000000000..2b5926612 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/modules/website_repeat_sale.png differ diff --git a/project_website_kanban_view/static/description/assets/modules/wishlist_product_website_backend.png b/project_website_kanban_view/static/description/assets/modules/wishlist_product_website_backend.png new file mode 100644 index 000000000..aa9cb6262 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/modules/wishlist_product_website_backend.png differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/filterby.png b/project_website_kanban_view/static/description/assets/screenshots/filterby.png new file mode 100644 index 000000000..3ec63328c Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/filterby.png differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/groupby.png b/project_website_kanban_view/static/description/assets/screenshots/groupby.png new file mode 100644 index 000000000..9cbb70e37 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/groupby.png differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/hero.gif b/project_website_kanban_view/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..4d88f883b Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/hero.gif differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/pagination.png b/project_website_kanban_view/static/description/assets/screenshots/pagination.png new file mode 100644 index 000000000..24dcf9fd6 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/pagination.png differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/project_kanban.png b/project_website_kanban_view/static/description/assets/screenshots/project_kanban.png new file mode 100644 index 000000000..89df6add9 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/project_kanban.png differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/project_task_kanban.png b/project_website_kanban_view/static/description/assets/screenshots/project_task_kanban.png new file mode 100644 index 000000000..d90ce5fbb Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/project_task_kanban.png differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/search.png b/project_website_kanban_view/static/description/assets/screenshots/search.png new file mode 100644 index 000000000..3606577e3 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/search.png differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/sortby1.png b/project_website_kanban_view/static/description/assets/screenshots/sortby1.png new file mode 100644 index 000000000..ae81a9483 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/sortby1.png differ diff --git a/project_website_kanban_view/static/description/assets/screenshots/task_page.png b/project_website_kanban_view/static/description/assets/screenshots/task_page.png new file mode 100644 index 000000000..7678fb481 Binary files /dev/null and b/project_website_kanban_view/static/description/assets/screenshots/task_page.png differ diff --git a/project_website_kanban_view/static/description/banner.png b/project_website_kanban_view/static/description/banner.png new file mode 100644 index 000000000..a31594044 Binary files /dev/null and b/project_website_kanban_view/static/description/banner.png differ diff --git a/project_website_kanban_view/static/description/icon.png b/project_website_kanban_view/static/description/icon.png new file mode 100644 index 000000000..35d3aa7ef Binary files /dev/null and b/project_website_kanban_view/static/description/icon.png differ diff --git a/project_website_kanban_view/static/description/index.html b/project_website_kanban_view/static/description/index.html new file mode 100644 index 000000000..308b8be57 --- /dev/null +++ b/project_website_kanban_view/static/description/index.html @@ -0,0 +1,689 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Website Project Kanban View +

+

+ Project & Task Kanban View In Website

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

+ Explore This Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module introduces a Kanban view feature for projects and their + associated tasks on the website. This feature displays the progress of + each task based on its stage and due date. +
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Project Kanban view on website +
+
+ + Project Task Kanban view on website +
+
+ + Monitor progress of task based on their stage direct from website +
+
+
+ +
+ + Enjoy real-time updates and status tracking for projects and tasks as they move through different stages . + +
+
+ + Keep track of task deadlines and due dates, ensuring timely completion of project tasks. +
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Click "Projects" To See Project Kanban View.

+

+ Under Website > My Account.

+ +
+ +
+

+ Click "Tasks" To See Project Tasks Kanban View +

+

+ Under Website > My Account.

+ +
+ +
+

+ Sortby Filter in Project Task. + +

+ +
+ +
+

+ FilterBy Filter in Project Task. + +

+ +
+ +
+

+ Groupby Filter in Project Task. + +

+ +
+
+

+ Searchby Filter in Project Task. + +

+ +
+
+

+ Adjust the number of tasks displayed per page. +

+ +
+
+

+ In the Task Kanban view, you can view this setting in + action. +

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

+ Related + Products +

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

+ Our Services +

+
+ +
+
+
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+ +
+

+ Our + Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ +
+
+ +
+

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need + help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on + WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ +
+
\ No newline at end of file diff --git a/project_website_kanban_view/static/src/css/style.css b/project_website_kanban_view/static/src/css/style.css new file mode 100644 index 000000000..26e528bab --- /dev/null +++ b/project_website_kanban_view/static/src/css/style.css @@ -0,0 +1,173 @@ +body { background-color: #ececec; } + +.header-menu-section{ background-color:#fff; padding: 12px 10px; } + +.left-menu a img{ width:12%; } + +.left-menu span { color:#767977; } + +.left-menu a { color:#767977; text-decoration: none; font-size: 14px; } + +.right-menu span {color:#767977; float: left; font-size: 14px; + line-height: 27px; } + +.right-menu .dropdown button { height: 26px; + padding-top: 0px; + font-size: 14px; + margin-left: 10px; background-color:#974f79; } + + .thumbnail-view-icon{ + width:24px; height: 24px; float: right; + } + + .list-view-icon{ + width:24px; height: 24px; float: right; + } + + .project-container{ + background-color: #fff; + border: 1px solid #333; + color:#45a2a1; + height: 135px; + overflow: auto; + } + + .project-container h6{ font-weight: 600; } + .project-container .tasks a{ + color:#45a2a1; + text-decoration: none; + } + + .project-container .tasks{ + font-size: 14px; + margin-top: 40px; + } + + .project-container .tasks a{ + font-weight: 600; + } + + .search-container button{ + background-color: #8c4e77; + height: 30px; + width: 38px; + display: flex; + align-items: center; + justify-content: center; + } + + .search-container button img { + width:20px; + } + + .search-container input{ height: 30px; } + + .input-group-append-btn button{ + -webkit-border-top-left-radius: 8px; + -webkit-border-bottom-left-radius: 8px; + -moz-border-radius-topleft: 8px; + -moz-border-radius-bottomleft: 8px; + border-top-left-radius: 8px; + border-bottom-left-radius: 8px; + } + + .container-section-tasks { + width: 260px; + float: left; + } + + .progress-number{ + color:#000; + float: right; + margin-top: -5px; + } + + .progres-bar{ + background-color: #dedfe8; + height: 12px; + width:202px; + float: left; + position: relative; + } + .container-section-tasks h5 { font-weight: 600; font-size: 17px; } + + .progres-bar-green { + width: 28px; + height: 12px; + background-color:#00b44e; + float: left; + } + + .progres-bar-red { + width:63px; + height: 12px; + background-color:#f60034; + float: left; + } + + .task-box { + background-color: #fff; + } + + .task-box h6{ + font-size: 14px; + margin-bottom: 0px; + color: #767977; + } + + .task-box span { + font-size: 12px; + font-style: italic; + } + + .clock img { width: 6%; } + .input-button { + width:10px; + height:10px; + border-radius: 50%; + background-color: #00b44e; + } + + .input-button-red { + width:10px; + height:10px; + border-radius: 50%; + background-color:red; + } + + .input-button-gray { + width:10px; + height:10px; + border-radius: 50%; + background-color:#dedfe8; + } + + .profile-pic-container{ + justify-content: space-between; + } + + .task-box{ + border: 1px solid #ccc; + word-wrap: break-word; + } + + .task-box .w-75{ padding-right: 11px;} + + .date-task-box { + font-style: normal !important; + color:#f60034 !important ; + font-weight: bold; + } + + .container-tasks { + overflow-x: scroll; + width:100%; + display:-webkit-box; + padding-bottom: 10px; + display: flex; + gap: 15px; + } + + .img-task { + margin-top: 22px; + } diff --git a/project_website_kanban_view/static/src/images/clock.png b/project_website_kanban_view/static/src/images/clock.png new file mode 100644 index 000000000..e7ce4fe28 Binary files /dev/null and b/project_website_kanban_view/static/src/images/clock.png differ diff --git a/project_website_kanban_view/static/src/images/img-list-view.png b/project_website_kanban_view/static/src/images/img-list-view.png new file mode 100644 index 000000000..20e518490 Binary files /dev/null and b/project_website_kanban_view/static/src/images/img-list-view.png differ diff --git a/project_website_kanban_view/static/src/images/img-thumbnail-view.png b/project_website_kanban_view/static/src/images/img-thumbnail-view.png new file mode 100644 index 000000000..bea994407 Binary files /dev/null and b/project_website_kanban_view/static/src/images/img-thumbnail-view.png differ diff --git a/project_website_kanban_view/views/kanban_view_project_templates.xml b/project_website_kanban_view/views/kanban_view_project_templates.xml new file mode 100644 index 000000000..efbc3fe4e --- /dev/null +++ b/project_website_kanban_view/views/kanban_view_project_templates.xml @@ -0,0 +1,74 @@ + + + + + + + + + diff --git a/project_website_kanban_view/views/kanban_view_task_templates.xml b/project_website_kanban_view/views/kanban_view_task_templates.xml new file mode 100644 index 000000000..bdeaf4104 --- /dev/null +++ b/project_website_kanban_view/views/kanban_view_task_templates.xml @@ -0,0 +1,147 @@ + + + + + + + diff --git a/project_website_kanban_view/views/res_config_settings_view.xml b/project_website_kanban_view/views/res_config_settings_view.xml new file mode 100644 index 000000000..15419f64e --- /dev/null +++ b/project_website_kanban_view/views/res_config_settings_view.xml @@ -0,0 +1,25 @@ + + + + + res.config.settings.view.form.inherit.project.website.kanban.view + res.config.settings + + + +

Tasks

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