Browse Source

May 09: [ADD] Initital Commit 'project_website_kanban_view'

pull/317/head
RisvanaCybro 12 months ago
parent
commit
6b018c6d7a
  1. 46
      project_website_kanban_view/README.rst
  2. 23
      project_website_kanban_view/__init__.py
  3. 55
      project_website_kanban_view/__manifest__.py
  4. 22
      project_website_kanban_view/controllers/__init__.py
  5. 160
      project_website_kanban_view/controllers/project_website_kanban_view.py
  6. 10
      project_website_kanban_view/data/ir_config_parameter_data.xml
  7. 7
      project_website_kanban_view/doc/RELEASE_NOTES.md
  8. 22
      project_website_kanban_view/models/__init__.py
  9. 36
      project_website_kanban_view/models/res_config_settings.py
  10. BIN
      project_website_kanban_view/static/description/assets/icons/check.png
  11. BIN
      project_website_kanban_view/static/description/assets/icons/chevron.png
  12. BIN
      project_website_kanban_view/static/description/assets/icons/cogs.png
  13. BIN
      project_website_kanban_view/static/description/assets/icons/consultation.png
  14. BIN
      project_website_kanban_view/static/description/assets/icons/ecom-black.png
  15. BIN
      project_website_kanban_view/static/description/assets/icons/education-black.png
  16. BIN
      project_website_kanban_view/static/description/assets/icons/hotel-black.png
  17. BIN
      project_website_kanban_view/static/description/assets/icons/license.png
  18. BIN
      project_website_kanban_view/static/description/assets/icons/lifebuoy.png
  19. BIN
      project_website_kanban_view/static/description/assets/icons/manufacturing-black.png
  20. BIN
      project_website_kanban_view/static/description/assets/icons/pos-black.png
  21. BIN
      project_website_kanban_view/static/description/assets/icons/puzzle.png
  22. BIN
      project_website_kanban_view/static/description/assets/icons/restaurant-black.png
  23. BIN
      project_website_kanban_view/static/description/assets/icons/service-black.png
  24. BIN
      project_website_kanban_view/static/description/assets/icons/trading-black.png
  25. BIN
      project_website_kanban_view/static/description/assets/icons/training.png
  26. BIN
      project_website_kanban_view/static/description/assets/icons/update.png
  27. BIN
      project_website_kanban_view/static/description/assets/icons/user.png
  28. BIN
      project_website_kanban_view/static/description/assets/icons/wrench.png
  29. BIN
      project_website_kanban_view/static/description/assets/misc/Cybrosys_new.png
  30. BIN
      project_website_kanban_view/static/description/assets/misc/categories.png
  31. BIN
      project_website_kanban_view/static/description/assets/misc/check-box.png
  32. BIN
      project_website_kanban_view/static/description/assets/misc/compass.png
  33. BIN
      project_website_kanban_view/static/description/assets/misc/corporate.png
  34. BIN
      project_website_kanban_view/static/description/assets/misc/customer-support.png
  35. BIN
      project_website_kanban_view/static/description/assets/misc/cybrosys-logo.png
  36. BIN
      project_website_kanban_view/static/description/assets/misc/features.png
  37. BIN
      project_website_kanban_view/static/description/assets/misc/logo.png
  38. BIN
      project_website_kanban_view/static/description/assets/misc/pictures.png
  39. BIN
      project_website_kanban_view/static/description/assets/misc/pie-chart.png
  40. BIN
      project_website_kanban_view/static/description/assets/misc/right-arrow.png
  41. 9
      project_website_kanban_view/static/description/assets/misc/star (1) 2.svg
  42. BIN
      project_website_kanban_view/static/description/assets/misc/star.png
  43. BIN
      project_website_kanban_view/static/description/assets/misc/support.png
  44. BIN
      project_website_kanban_view/static/description/assets/misc/whatsapp.png
  45. BIN
      project_website_kanban_view/static/description/assets/modules/1.jpg
  46. BIN
      project_website_kanban_view/static/description/assets/modules/2.jpg
  47. BIN
      project_website_kanban_view/static/description/assets/modules/3.jpg
  48. BIN
      project_website_kanban_view/static/description/assets/modules/4.jpg
  49. BIN
      project_website_kanban_view/static/description/assets/modules/5.jpg
  50. BIN
      project_website_kanban_view/static/description/assets/modules/6.jpg
  51. BIN
      project_website_kanban_view/static/description/assets/screenshots/1.png
  52. BIN
      project_website_kanban_view/static/description/assets/screenshots/2.png
  53. BIN
      project_website_kanban_view/static/description/assets/screenshots/3.png
  54. BIN
      project_website_kanban_view/static/description/assets/screenshots/4.png
  55. BIN
      project_website_kanban_view/static/description/assets/screenshots/5.png
  56. BIN
      project_website_kanban_view/static/description/assets/screenshots/6.png
  57. BIN
      project_website_kanban_view/static/description/assets/screenshots/7.png
  58. BIN
      project_website_kanban_view/static/description/assets/screenshots/8.png
  59. BIN
      project_website_kanban_view/static/description/assets/screenshots/9.png
  60. BIN
      project_website_kanban_view/static/description/assets/screenshots/hero-v17.gif
  61. BIN
      project_website_kanban_view/static/description/banner.jpg
  62. BIN
      project_website_kanban_view/static/description/icon.png
  63. 827
      project_website_kanban_view/static/description/index.html
  64. 180
      project_website_kanban_view/static/src/css/style.css
  65. BIN
      project_website_kanban_view/static/src/images/clock.png
  66. BIN
      project_website_kanban_view/static/src/images/img-list-view.png
  67. BIN
      project_website_kanban_view/static/src/images/img-thumbnail-view.png
  68. 168
      project_website_kanban_view/views/kanban_view_project_templates.xml
  69. 152
      project_website_kanban_view/views/kanban_view_task_templates.xml
  70. 25
      project_website_kanban_view/views/res_config_settings_views.xml

46
project_website_kanban_view/README.rst

@ -0,0 +1,46 @@
.. 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 <https://cybrosys.com/>`__
License
-------
General Public License, Version 3 (AGPL v3).
(https://www.gnu.org/licenses/agpl-3.0-standalone.html)
Credits
-------
Developer: (V17)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 <https://cybrosys.com/>`__
Further information
===================
HTML Description: `<static/description/index.html>`__

23
project_website_kanban_view/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (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 <http://www.gnu.org/licenses/>.
#
################################################################################
from . import controllers
from . import models

55
project_website_kanban_view/__manifest__.py

@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (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 <http://www.gnu.org/licenses/>.
#
################################################################################
{
'name': 'Website Project Kanban View',
'version': '17.0.1.0.0',
'category': 'Website,Project',
'summary': 'Project & Task kanban view in Website',
'description': "Geminate comes with a feature to 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_views.xml'
],
'assets': {
'web.assets_frontend': [
'/project_website_kanban_view/static/src/css/style.css',
'https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css',
'https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.slim.min.js',
'https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js',
],
},
'images': ['static/description/banner.jpg'],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

22
project_website_kanban_view/controllers/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (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 <http://www.gnu.org/licenses/>.
#
################################################################################
from . import project_website_kanban_view

160
project_website_kanban_view/controllers/project_website_kanban_view.py

@ -0,0 +1,160 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (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 <http://www.gnu.org/licenses/>.
#
################################################################################
from odoo import http, _
from odoo.exceptions import ValidationError
from odoo.http import request
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.
"""
@http.route(['/my/projects', '/my/projects/page/<int: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)
res.qcontext.update({'viewtype': viewtype})
return res
@http.route(['/my/tasks', '/my/tasks/page/<int: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)
searchbar_filters = self._get_my_tasks_searchbar_filters()
domain = searchbar_filters.get(filterby, searchbar_filters.get('all'))[
'domain']
values = self._prepare_tasks_values(page, date_begin, date_end, sortby,
search, search_in, groupby,
domain=domain)
pager_vals = values['pager']
pager_vals['url_args'].update(viewtype=viewtype)
pager = portal_pager(**pager_vals)
res.qcontext.update({
'viewtype': viewtype,
"pager": pager
})
return res
@http.route(['/my/projects/<int:project_id>',
'/my/projects/<int:project_id>/page/<int: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})
return res
def _prepare_tasks_values(self, page, date_begin, date_end, sortby, search,
search_in, groupby, url="/my/tasks", domain=None,
su=False, project=False):
"""
Prepare the values for displaying tasks 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 search: Search keyword.
:param search_in: Field to search in (e.g., content).
:param groupby: Grouping option.
:param url: URL for the tasks page.
:param domain: Filter domain for tasks.
:return: Dictionary containing values for tasks display.
"""
res = super(ProjectCustomerPortal, self)._prepare_tasks_values(
page=page, date_begin=date_begin, date_end=date_end, sortby=sortby,
search=search, search_in=search_in, groupby=groupby, url=url,
domain=domain, su=su, project=project)
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

10
project_website_kanban_view/data/ir_config_parameter_data.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Adding a default value for task_per_pager in res.config.settings-->
<data noupdate="1">
<record id="project_website_kanban_view_task_per_pager" model="ir.config_parameter">
<field name="key">project_website_kanban_view.task_per_pager</field>
<field name="value">80</field>
</record>
</data>
</odoo>

7
project_website_kanban_view/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <project_website_kanban_view>
#### 08.04.2024
#### Version 17.0.1.0.0
#### ADD
- Initial commit for Website Project Kanban View

22
project_website_kanban_view/models/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (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 <http://www.gnu.org/licenses/>.
#
################################################################################
from . import res_config_settings

36
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(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (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 <http://www.gnu.org/licenses/>.
#
################################################################################
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')

BIN
project_website_kanban_view/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
project_website_kanban_view/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
project_website_kanban_view/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
project_website_kanban_view/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
project_website_kanban_view/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
project_website_kanban_view/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
project_website_kanban_view/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
project_website_kanban_view/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
project_website_kanban_view/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
project_website_kanban_view/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
project_website_kanban_view/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
project_website_kanban_view/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
project_website_kanban_view/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
project_website_kanban_view/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
project_website_kanban_view/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
project_website_kanban_view/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
project_website_kanban_view/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
project_website_kanban_view/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
project_website_kanban_view/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
project_website_kanban_view/static/description/assets/misc/Cybrosys_new.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
project_website_kanban_view/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
project_website_kanban_view/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
project_website_kanban_view/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
project_website_kanban_view/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
project_website_kanban_view/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
project_website_kanban_view/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
project_website_kanban_view/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
project_website_kanban_view/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
project_website_kanban_view/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
project_website_kanban_view/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
project_website_kanban_view/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

9
project_website_kanban_view/static/description/assets/misc/star (1) 2.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 26 KiB

BIN
project_website_kanban_view/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
project_website_kanban_view/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
project_website_kanban_view/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
project_website_kanban_view/static/description/assets/modules/1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
project_website_kanban_view/static/description/assets/modules/2.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
project_website_kanban_view/static/description/assets/modules/3.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
project_website_kanban_view/static/description/assets/modules/4.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

BIN
project_website_kanban_view/static/description/assets/modules/5.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
project_website_kanban_view/static/description/assets/modules/6.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
project_website_kanban_view/static/description/assets/screenshots/hero-v17.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

BIN
project_website_kanban_view/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
project_website_kanban_view/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

827
project_website_kanban_view/static/description/index.html

@ -0,0 +1,827 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Odoo App 3 Index</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
rel="stylesheet">
</head>
<body>
<section>
<div class="container"
style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center"
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)">
<div class="my-3">
<img src="assets/misc/Cybrosys_new.png"
style="width:auto !important; height:40px !important">
</div>
<div class="my-3 d-flex align-items-center">
<div class="text-center"
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;">
Community
</div>
<div class="text-center"
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;">
Enterprise
</div>
<div class="text-center"
style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;">
Odoo.sh
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column"
style="margin: 80px 0px !important;">
<h1 style="font-size: 2.8rem;font-weight: 700; color:
#1A202C;">
Website Project Kanban View
</h1>
<p class="my-3 mb-4"
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;">
Project & Task Kanban View In Website
</p>
<div style="width: 80%; margin-top: 3rem;">
<img src="assets/screenshots/hero-v17.gif"
class="img-responsive" width="100%" height="auto">
</div>
</div>
</div>
<div class="container mt-5 mb-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#714b67 !important">
Key Highlights
</p>
</div>
<div class="row py-4">
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Project Kanban view on website .</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Enjoy real-time updates and status tracking for projects and tasks as they move through different stages .</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Project Task Kanban view on website .</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Keep track of task deadlines and due dates, ensuring timely completion of project tasks .
</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Monitor progress of task based on their stage direct from website .
</p>
</div>
</div>
</div>
</div>
</div>
<div class="container rounded">
<ul class="nav nav-tabs d-flex"
style="width: fit-content;margin: 0 auto;gap: 1rem;">
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
class="active show" data-toggle="tab" href="#tab1"
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;">
<i class="fa-regular fa-image pr-2"
style="color: #fff;"></i>
Screenshots</a></li>
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
data-toggle="tab" href="#tab2"
style="color: #fff;font-weight: 500; text-decoration: none;"><i
class="fa-solid fa-star pr-2"
style="color: #fff;"></i>Features</a></li>
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
data-toggle="tab" href="#tab3"
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i
class="fa-solid fa-book-open pr-2"
style="color: #fff;"></i>Released Notes</a></li>
</ul>
<div class="tab-content"
style="background-color: rgba(121, 113, 119, 0.04);">
<div id="tab1" class="tab-pane fade in active show">
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/1.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Click "Projects" To See Project Kanban View.
</h4>
<p class="m-0" style="color:#718096">
Under Website > My Account . </p>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/2.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Click "Tasks" To See Project Tasks Kanban View</h4>
<p class="m-0" style="color:#718096">
Under Website > My Account . </p>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/3.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Sortby Filter in Project Task</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/4.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
FilterBy Filter in Project Task.
</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/5.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Groupby Filter in Project Task.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/6.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Searchby Filter in Project Task.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/7.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Adjust the number of tasks displayed per page.
</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/8.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
In the Task Kanban view, you can view this setting in action.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
</div>
</div>
<div id="tab2" class="tab-pane fade">
<div class="col-mg-12" style="padding: 1rem 4rem;">
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;">
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Project Kanban view on website .
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Enjoy real-time updates and status tracking for projects and tasks as they move through different stages . .
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Project Task Kanban view on website .
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Keep track of task deadlines and due dates, ensuring timely completion of project tasks . .
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Monitor progress of task based on their stage direct from website .
</li>
</ul>
</div>
</div>
<div id="tab3" class="tab-pane fade">
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3"
style="font-size: 0.8rem; font-weight: 500;"><span>Version
17.0.1.0.0</span><span
class="px-2">|</span><span
style="color: #714B67;font-weight: 600;">Released on:22nd February 2024</span>
</div>
<p class="m-0"
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Initial Commit for Website Call For Price.</p>
</div>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Related Products</p>
</div>
</div>
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="row p-4">
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/website_product_publish/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/1.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Quick Product Publish/Unpublish</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/odoo_icecat_connector/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/2.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Odoo Icecat Connector</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/shopping_through_agent/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/3.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Shopping Through Agent</p>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="carousel-item">
<div class="row p-4">
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/website_upload_files/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/4.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Multiple Attachments In eCommerce Order</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/website_multi_variant/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/5.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Website Multi Variant Add to Cart</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/website_pdf_preview_snippet/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/6.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Website PDF Preview Snippet</p>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#myCarousel"
data-slide="prev" style="width: 35px; color: #000;">
<span class="carousel-control-prev-icon">
<i class="fa fa-chevron-left"
style="font-size: 24px;"></i>
</span>
</a>
<a class="carousel-control-next" href="#myCarousel"
data-slide="next" style="width: 35px; color: #000;">
<span class="carousel-control-next-icon">
<i class="fa fa-chevron-right"
style="font-size: 24px;"></i>
</span>
</a>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Our Services</p>
</div>
</div>
<div class="container my-5">
<div class="row py-3">
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/cogs.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Customization</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/wrench.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Implementation</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/lifebuoy.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Support</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/user.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Hire
Odoo Developer</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/puzzle.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Integration</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/update.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Migration</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/consultation.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Consultancy</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/training.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Implementation</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/license.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Licensing Consultancy</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Our Industries</p>
</div>
</div>
<div class="container">
<div class="row my-5 py-4">
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100 "
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/trading-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Trading</p>
<p>Easily procure and sell your products</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;">
<img src="assets/icons/pos-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">POS</p>
<p>Easy configuration and convivial experience</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)">
<img src="assets/icons/education-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Education</p>
<p>A platform for educational management</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; ">
<img src="assets/icons/manufacturing-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Manufacturing</p>
<p>Plan, track and schedule your operations</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;">
<img src="assets/icons/ecom-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">E-commerce &
Website</p>
<p>Mobile friendly, awe-inspiring product pages</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/service-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Service
Management</p>
<p>Keep track of services and invoice</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; ">
<img src="assets/icons/restaurant-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Restaurant</p>
<p>Run your bar or restaurant methodically</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/hotel-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Hotel
Management</p>
<p>An all-inclusive hotel management application</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Support</p>
</div>
</div>
<div class="container my-5">
<div class="row" style="background-color: #FFFAFE;">
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"
style="border-right: 1px solid #D9D9D9;">
<div style="padding: 30px;">
<div class="d-flex align-items-center">
<img src="assets/misc/support (1) 1.svg" alt=""
width="60px" style="margin-right: 12px;">
<div style="padding: 0px 8px;">
<span
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need
Help?</span>
<p class="m-0" style="color:#718096;">Got
questions or need help? Get in touch.</p>
<div style="font-weight: 400;"><span><img
src="assets/misc/support-email.svg"
alt=""
width="18px"
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center">
<div style="padding: 30px;">
<div class="d-flex align-items-center">
<img src="assets/misc/whatsapp 1.svg" alt=""
width="60px" style="margin-right: 12px;">
<div>
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span>
<p class="m-0" style="color:#718096;">Say hi to
us on WhatsApp!</p>
<div style="font-weight: 400; font-size: 16px;"><span><img
src="assets/misc/phone.svg"
alt="" width="14px"
style="filter: invert(1); margin-right: 0.8rem;"></span>+91
99456767686
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>

180
project_website_kanban_view/static/src/css/style.css

@ -0,0 +1,180 @@
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;
}
.progres-bar-yellow {
width:63px;
height: 12px;
background-color:#FFA500;
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;
margin-right:0px !important;
}
.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;
}

BIN
project_website_kanban_view/static/src/images/clock.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
project_website_kanban_view/static/src/images/img-list-view.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

BIN
project_website_kanban_view/static/src/images/img-thumbnail-view.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

168
project_website_kanban_view/views/kanban_view_project_templates.xml

@ -0,0 +1,168 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--Project Kanban View Template-->
<template id="project_kanban_view_template" name="Kanban View">
<t t-if="viewtype =='kanban'">
<t t-if="page_name == 'project'">
<section class="section-Kanban-view w-100 float-left kanban-container">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="container-projects pl-5 pr-5 float-left w-100">
<div class="row">
<t t-foreach="projects" t-as="project">
<div class="col-lg-3 mb-4">
<div class="project-container w-100 float-left p-3">
<h6>
<a t-attf-href="/my/projects/#{project.id}?{{ keep_query() }}">
<t t-esc="project.name"/>
</a>
</h6>
<div class="tasks">
<a t-attf-href="/my/projects/#{project.id}?{{ keep_query() }}">
<t t-out="project.task_count"/>
Tasks
</a>
</div>
</div>
</div>
</t>
</div>
</div>
</div>
</div>
</div>
</section>
</t>
</t>
</template>
<!--Inheriting the Searchbar to add kanban and task icon-->
<template id="kanban_view_template_inherit" inherit_id="portal.portal_searchbar">
<xpath expr="//nav" position="replace">
<div>
<t t-if="page_name == 'project' or page_name == 'task'">
<div class="container-view float-right w-10">
<div class="mt-3 mb-3 list-view-icon">
<a t-att-href="default_url + '?' + keep_query('*', viewtype='list')">
<img class="w-100"
src="/project_website_kanban_view/static/src/images/img-list-view.png"/>
</a>
</div>
<div class="mt-3 mb-3 thumbnail-view-icon mr-2">
<a t-att-href="default_url + '?' + keep_query('*', viewtype='kanban')">
<img class="w-100"
src="/project_website_kanban_view/static/src/images/img-thumbnail-view.png"/>
</a>
</div>
</div>
</t>
<nav t-attf-class="navbar navbar-expand-lg flex-wrap mb-4 p-0 o_portal_navbar {{classes if classes else ''}}" style="width:100%;">
<!-- Navbar breadcrumb or title -->
<t t-if="breadcrumbs_searchbar">
<t t-call="portal.portal_breadcrumbs"/>
</t>
<span t-else="" class="navbar-brand mb-0 h1 me-auto" t-esc="title or 'No title'"/>
<!-- Collapse button -->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#o_portal_navbar_content" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle filters">
<span class="fa fa-fw fa-bars"/>
</button>
<!-- Collapsable content -->
<div class="collapse navbar-collapse flex-wrap-reverse justify-content-end gap-3"
id="o_portal_navbar_content">
<div class="nav flex-column flex-sm-row gap-2 ms-auto p-0 mb-3 mb-lg-0 mt-1 mt-lg-0">
<div t-if="searchbar_sortings">
<span class="small me-1 navbar-text">Sort By:</span>
<div class="btn-group">
<button id="portal_searchbar_sortby" data-bs-toggle="dropdown"
class="btn btn-secondary dropdown-toggle">
<t t-esc="searchbar_sortings[sortby].get('label', 'Newest')"/>
</button>
<div class="dropdown-menu dropdown-menu-end"
aria-labelledby="portal_searchbar_sortby">
<t t-foreach="searchbar_sortings" t-as="option">
<a t-att-href="request.httprequest.path + '?' + keep_query('*', sortby=option)"
t-attf-class="dropdown-item#{sortby == option and ' active' or ''}">
<span t-esc="searchbar_sortings[option].get('label')"/>
</a>
</t>
</div>
</div>
</div>
<div t-if="searchbar_filters" class="ms-lg-2">
<span class="small me-1 navbar-text">Filter By:</span>
<div class="btn-group">
<button id="portal_searchbar_filters" data-bs-toggle="dropdown"
class="btn btn-secondary dropdown-toggle">
<t t-esc="searchbar_filters.get(filterby,searchbar_filters.get('all')).get('label', 'All')"/>
</button>
<div class="dropdown-menu dropdown-menu-end"
aria-labelledby="portal_searchbar_filters">
<t t-foreach="searchbar_filters" t-as="option">
<a t-att-href="default_url + '?' + keep_query('*', filterby=option)"
t-attf-class="dropdown-item#{filterby == option and ' active' or ''}">
<span t-esc="searchbar_filters[option].get('label')"/>
</a>
</t>
</div>
</div>
</div>
<div t-if="searchbar_groupby" class="ms-lg-2">
<span class="small me-1 navbar-text">Group By:</span>
<div class="btn-group">
<button id="portal_searchbar_groupby" data-bs-toggle="dropdown"
class="btn btn-secondary dropdown-toggle">
<t t-esc="searchbar_groupby[groupby].get('label', 'None')"/>
</button>
<div class="dropdown-menu dropdown-menu-end"
aria-labelledby="portal_searchbar_groupby">
<t t-foreach="searchbar_groupby" t-as="option">
<a t-att-href="default_url + '?' + keep_query('*', groupby=option)"
t-attf-class="dropdown-item#{groupby == option and ' active' or ''}">
<span t-esc="searchbar_groupby[option].get('label')"/>
</a>
</t>
</div>
</div>
</div>
<t t-out="0"/>
</div>
<form t-if="searchbar_inputs" class="o_portal_search_panel col-md-5 col-xl-4 ms-lg-2">
<div class="input-group w-100">
<button type="button" class="btn btn-secondary border-end dropdown-toggle"
data-bs-toggle="dropdown"/>
<div class="dropdown-menu dropdown-menu-end" role="menu">
<t t-foreach='searchbar_inputs' t-as='input'>
<a t-att-href="'#' + input_value['input']"
t-attf-class="dropdown-item#{search_in == input_value['input'] and ' active' or ''}">
<span t-out="input_value['label']"/>
</a>
</t>
</div>
<input type="text" class="form-control" placeholder="Search" t-att-value='search'
name="search"/>
<button class="btn btn-secondary o_wait_lazy_js" type="submit">
<span class="oi oi-search"/>
</button>
</div>
</form>
</div>
</nav>
</div>
</xpath>
</template>
<!--Adding an attribute viewtype to the list view table and also add the Project kanban view Template-->
<template id="list_view_template_inherit" inherit_id="portal.portal_table">
<xpath expr="//table[hasclass('o_portal_my_doc_table')]"
position="attributes">
<attribute name="t-if">viewtype != 'kanban'</attribute>
</xpath>
<xpath expr="//table[hasclass('o_portal_my_doc_table')]"
position="before">
<t t-call="project_website_kanban_view.project_kanban_view_template"/>
</xpath>
</template>
</odoo>

152
project_website_kanban_view/views/kanban_view_task_templates.xml

@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Project Task Kanban View Template -->
<template id="project_task_kanban_view_template" name="Kanban View">
<t t-if="viewtype =='kanban'">
<section class="section-Kanban-view w-100 float-left kanban-task-container ">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="container-tasks">
<t t-foreach="grouped_tasks"
t-as="tasks">
<div class="container-section-tasks">
<h5>
<div t-if="not groupby == 'none'"
class="table-light">
<div t-if="groupby == 'project'"
t-attf-colspan="{{grouped_tasks_colspan}}">
<div name="project_name"
class="d-flex w-100 align-items-center">
<span t-field="tasks[0].sudo().project_id.name"/>
</div>
</div>
<div t-if="groupby == 'milestone'"
t-attf-colspan="{{grouped_tasks_colspan}}">
<span t-if="tasks[0].sudo().milestone_id and tasks[0].sudo().allow_milestones"
class="text-truncate"
t-field="tasks[0].sudo().milestone_id.name"/>
<span t-else="">No
Milestone
</span>
</div>
<div t-if="groupby == 'stage'"
t-attf-colspan="{{grouped_tasks_colspan}}">
<span class="text-truncate"
t-field="tasks[0].sudo().stage_id.name"/>
</div>
<div t-if="groupby == 'priority'"
t-attf-colspan="{{grouped_tasks_colspan}}">
<span class="text-truncate"
t-field="tasks[0].sudo().priority"/>
</div>
<div t-if="groupby == 'status'"
t-attf-colspan="{{grouped_tasks_colspan}}">
<span class="text-truncate"
t-field="tasks[0].sudo().state"/>
</div>
<div t-if="groupby == 'customer'"
t-attf-colspan="{{grouped_tasks_colspan}}">
<span class="text-truncate"
t-field="tasks[0].sudo().partner_id.name"/>
<t t-if="not tasks[0].sudo().partner_id">
No Customer
</t>
</div>
</div>
</h5>
<div class="container-progress-bar">
<t t-set="done_count" t-value="len(tasks.filtered(lambda t: t.state == '1_done'))"/>
<t t-set="blocked_count"
t-value="len(tasks.filtered(lambda t: t.state == '1_canceled'))"/>
<t t-set="changes_requested"
t-value="len(tasks.filtered(lambda t: t.state == '02_changes_requested'))"/>
<div style="display:flex">
<div class="progres-bar"
style="display:flex;">
<t t-set="total_count"
t-value="len(tasks)"/>
<t t-set="green_ratio"
t-value="done_count / total_count"/>
<t t-log="green_ratio"/>
<t t-set="red_ratio"
t-value="blocked_count / total_count"/>
<t t-set="yellow_ratio"
t-value="changes_requested / total_count"/>
<div class="progres-bar-green"
t-att-style="'width:' + str(green_ratio * 100) + '%'"/>
<div class="progres-bar-red"
t-att-style="'width:' + str(red_ratio * 100) + '%'"/>
<div class="progres-bar-yellow"
t-att-style="'width:' + str(yellow_ratio * 100) + '%'"/>
</div>
<div class="progress-number text-end"
style="padding-left: 3rem;">
<t t-esc="len(tasks)"/>
</div>
</div>
</div>
<t t-foreach="tasks" t-as="task">
<div class="task-box w-100 float-left p-2">
<div class="w-75 float-left">
<h6>
<a t-attf-href="/my/#{task_url}/#{task.id}?{{ keep_query() }}">
<strong>
<span t-field="task.name"/>
</strong>
</a>
</h6>
<span>
<span t-field="task.project_id.name"/>
</span>
<div class="clock">
<img src="/project_website_kanban_view/static/src/images/clock.png"/>
<span class="date-task-box">
<span t-field="task.date_deadline"/>
</span>
</div>
</div>
<div class="w-25 profile-pic-container float-left pt-4 d-flex ">
<span>
<t t-call="project.portal_my_tasks_state_widget_template">
<t t-set="path"
t-value="'tasks'"/>
</t>
</span>
<div class="img-task text-right d-flex">
<t t-set="assignees"
t-value="task.sudo().user_ids"/>
<t t-if="assignees">
<img class="rounded-circle o_portal_contact_img me-2"
t-attf-src="#{image_data_uri(assignees[:1].avatar_1024)}"
alt="User"
style="width: 20px; height: 20px;"
t-att-title="assignees[:1].name"/>
<span class="rounded-circle o_portal_contact_img me-2 text-center fw-bold"
t-if="len(assignees) > 1"
t-out="' + %s' % (len(assignees) - 1)"
t-att-title="'\n'.join(assignees[1:].mapped('name'))"/>
</t>
</div>
</div>
</div>
</t>
</div>
</t>
</div>
</div>
</div>
</div>
</section>
</t>
</template>
<!-- Adding the Project Task Kanban Template before the List Table Template -->
<template id="kanban_task_view_template_inherit"
inherit_id="portal.portal_table">
<xpath expr="//table[hasclass('o_portal_my_doc_table')]"
position="before">
<t t-call="project_website_kanban_view.project_task_kanban_view_template"/>
</xpath>
</template>
</odoo>

25
project_website_kanban_view/views/res_config_settings_views.xml

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--Inherited the res.config.setting to add the fields -->
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.project.website.kanban.view</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="project.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//block[@name='analytic']" position="after">
<h2>Tasks</h2>
<div class="row mt16 o_settings_container">
<div class="o_setting_box o_searchable_setting col-12 col-lg-6">
<div class="row mt16">
<label string="Tasks per page in kanban view"
for="task_per_pager"/>
</div>
<div>
<field name="task_per_pager" class="oe_inline"/>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>
Loading…
Cancel
Save