Browse Source

Jan 05: [ADD] Initial Commit 'asana_odoo_connector'

pull/299/head
Shijin V 1 year ago
parent
commit
9cf9a73b76
  1. 44
      asana_odoo_connector/README.rst
  2. 22
      asana_odoo_connector/__init__.py
  3. 53
      asana_odoo_connector/__manifest__.py
  4. 16
      asana_odoo_connector/data/ir_actions_data.xml
  5. 7
      asana_odoo_connector/doc/RELEASE_NOTES.md
  6. 25
      asana_odoo_connector/models/__init__.py
  7. 88
      asana_odoo_connector/models/project_project.py
  8. 33
      asana_odoo_connector/models/project_task.py
  9. 33
      asana_odoo_connector/models/project_task_type.py
  10. 149
      asana_odoo_connector/models/res_config_settings.py
  11. BIN
      asana_odoo_connector/static/description/assets/icons/asana-pic.png
  12. BIN
      asana_odoo_connector/static/description/assets/icons/check.png
  13. BIN
      asana_odoo_connector/static/description/assets/icons/chevron.png
  14. BIN
      asana_odoo_connector/static/description/assets/icons/cogs.png
  15. BIN
      asana_odoo_connector/static/description/assets/icons/consultation.png
  16. BIN
      asana_odoo_connector/static/description/assets/icons/ecom-black.png
  17. BIN
      asana_odoo_connector/static/description/assets/icons/education-black.png
  18. BIN
      asana_odoo_connector/static/description/assets/icons/hotel-black.png
  19. BIN
      asana_odoo_connector/static/description/assets/icons/license.png
  20. BIN
      asana_odoo_connector/static/description/assets/icons/lifebuoy.png
  21. BIN
      asana_odoo_connector/static/description/assets/icons/manufacturing-black.png
  22. BIN
      asana_odoo_connector/static/description/assets/icons/pos-black.png
  23. BIN
      asana_odoo_connector/static/description/assets/icons/puzzle.png
  24. BIN
      asana_odoo_connector/static/description/assets/icons/restaurant-black.png
  25. BIN
      asana_odoo_connector/static/description/assets/icons/service-black.png
  26. BIN
      asana_odoo_connector/static/description/assets/icons/trading-black.png
  27. BIN
      asana_odoo_connector/static/description/assets/icons/training.png
  28. BIN
      asana_odoo_connector/static/description/assets/icons/update.png
  29. BIN
      asana_odoo_connector/static/description/assets/icons/user.png
  30. BIN
      asana_odoo_connector/static/description/assets/icons/wrench.png
  31. BIN
      asana_odoo_connector/static/description/assets/misc/categories.png
  32. BIN
      asana_odoo_connector/static/description/assets/misc/check-box.png
  33. BIN
      asana_odoo_connector/static/description/assets/misc/compass.png
  34. BIN
      asana_odoo_connector/static/description/assets/misc/corporate.png
  35. BIN
      asana_odoo_connector/static/description/assets/misc/customer-support.png
  36. BIN
      asana_odoo_connector/static/description/assets/misc/cybrosys-logo.png
  37. BIN
      asana_odoo_connector/static/description/assets/misc/features.png
  38. BIN
      asana_odoo_connector/static/description/assets/misc/logo.png
  39. BIN
      asana_odoo_connector/static/description/assets/misc/pictures.png
  40. BIN
      asana_odoo_connector/static/description/assets/misc/pie-chart.png
  41. BIN
      asana_odoo_connector/static/description/assets/misc/right-arrow.png
  42. BIN
      asana_odoo_connector/static/description/assets/misc/star.png
  43. BIN
      asana_odoo_connector/static/description/assets/misc/support.png
  44. BIN
      asana_odoo_connector/static/description/assets/misc/whatsapp.png
  45. BIN
      asana_odoo_connector/static/description/assets/modules/1.png
  46. BIN
      asana_odoo_connector/static/description/assets/modules/2.png
  47. BIN
      asana_odoo_connector/static/description/assets/modules/3.png
  48. BIN
      asana_odoo_connector/static/description/assets/modules/4.png
  49. BIN
      asana_odoo_connector/static/description/assets/modules/5.png
  50. BIN
      asana_odoo_connector/static/description/assets/modules/6.png
  51. BIN
      asana_odoo_connector/static/description/assets/screenshots/1.png
  52. BIN
      asana_odoo_connector/static/description/assets/screenshots/10.png
  53. BIN
      asana_odoo_connector/static/description/assets/screenshots/11.png
  54. BIN
      asana_odoo_connector/static/description/assets/screenshots/12.png
  55. BIN
      asana_odoo_connector/static/description/assets/screenshots/13.png
  56. BIN
      asana_odoo_connector/static/description/assets/screenshots/2.png
  57. BIN
      asana_odoo_connector/static/description/assets/screenshots/3.png
  58. BIN
      asana_odoo_connector/static/description/assets/screenshots/4.png
  59. BIN
      asana_odoo_connector/static/description/assets/screenshots/5.png
  60. BIN
      asana_odoo_connector/static/description/assets/screenshots/6.png
  61. BIN
      asana_odoo_connector/static/description/assets/screenshots/7.png
  62. BIN
      asana_odoo_connector/static/description/assets/screenshots/8.png
  63. BIN
      asana_odoo_connector/static/description/assets/screenshots/9.png
  64. BIN
      asana_odoo_connector/static/description/assets/screenshots/hero.gif
  65. BIN
      asana_odoo_connector/static/description/banner.jpg
  66. BIN
      asana_odoo_connector/static/description/icon.png
  67. 657
      asana_odoo_connector/static/description/index.html
  68. 22
      asana_odoo_connector/views/project_project_views.xml
  69. 24
      asana_odoo_connector/views/project_task_type_views.xml
  70. 22
      asana_odoo_connector/views/project_task_views.xml
  71. 56
      asana_odoo_connector/views/res_config_settings_views.xml

44
asana_odoo_connector/README.rst

@ -0,0 +1,44 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
Asana Odoo Connector
====================
This module helps you to connect the projects and tasks from the odoo to asana and vice versa
Configuration
=============
* Need to configure the Workspace id and the App Token in the Asana configuration
Company
_______
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
License
=======
Affero General Public License v3.0 (AGPL v3)
(http://www.gnu.org/licenses/agpl-3.0-standalone.html)
Credits
_______
Developer : (V16) Arjun S, Contact: odoo@cybrosys.com
Contacts
________
* Mail Contact : odoo@cybrosys.com
* Website : http://www.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>`__

22
asana_odoo_connector/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Arjun S(odoo@cybrosys.com)
#
# 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 models

53
asana_odoo_connector/__manifest__.py

@ -0,0 +1,53 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Arjun S(odoo@cybrosys.com)
#
# 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': 'Asana Odoo Connector',
'version': '16.0.1.0.0',
'category': 'Project',
'summary': "With this module, you can easily connect the projects, tasks "
"and partners in the odoo to asana",
'description': """With this module, user can connect the projects, tasks and
the customers in the odoo to asana, which means the projects, tasks and
customers in the odoo can be seen in the asana also vice versa""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'depends': ['project'],
'data': [
'views/project_project_views.xml',
'views/project_task_views.xml',
'views/project_task_type_views.xml',
'views/res_config_settings_views.xml',
'data/ir_actions_data.xml',
],
'external_dependencies': {
'python': [
'asana',
],
},
'images': ['static/description/banner.jpg'],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

16
asana_odoo_connector/data/ir_actions_data.xml

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!--Server action to export the datas in odoo to asana -->
<record id="action_export_projects_asana" model="ir.actions.server">
<field name="name">Export to Asana</field>
<field name="model_id" ref="model_project_project"/>
<field name="binding_model_id" ref="model_project_project"/>
<field name="binding_view_types">list</field>
<field name="state">code</field>
<field name="code">
action = records.action_export_to_asana()
</field>
</record>
</data>
</odoo>

7
asana_odoo_connector/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <asana_odoo_connector>
#### 05.01.2024
#### Version 16.0.1.0.0
#### ADD
- Initial Commit for Asana Odoo Connector

25
asana_odoo_connector/models/__init__.py

@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Arjun S(odoo@cybrosys.com)
#
# 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_project
from . import project_task
from . import project_task_type
from . import res_config_settings

88
asana_odoo_connector/models/project_project.py

@ -0,0 +1,88 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Arjun S(odoo@cybrosys.com)
#
# 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/>.
#
###############################################################################
import logging
from odoo import fields, models, _
from odoo.exceptions import ValidationError
_logger = logging.getLogger(__name__)
try:
import asana
except ImportError:
_logger.debug('Cannot `import asana`.')
class ProjectProject(models.Model):
"""
Inherits the model project.project to add extra fields and functionalities
for the working of the odoo to asana import and export.
"""
_inherit = 'project.project'
asana_gid = fields.Char(string='Asana GID',
help='Asana ID for the project record',
readonly=True)
def action_export_to_asana(self):
"""
Method action_export_to_asana used to export the data in the odoo to
asana
"""
configuration = asana.Configuration()
configuration.access_token = self.env[
'ir.config_parameter'].sudo().get_param(
'asana_odoo_connector.app_token')
api_client = asana.ApiClient(configuration)
project_instance = asana.ProjectsApi(api_client)
workspace_gid = self.env[
'ir.config_parameter'].sudo().get_param(
'asana_odoo_connector.workspace_gid')
try:
for project in self:
if not project.asana_gid:
project_body = asana.WorkspaceGidProjectsBody(
{"name": project.name})
project_response = project_instance.create_project_for_workspace(
project_body, workspace_gid)
project.asana_gid = project_response.data.gid
project_gid = project_response.data.gid
task_instance = asana.TasksApi(api_client)
section_instance = asana.SectionsApi(api_client)
for section in project.type_ids:
section_body = asana.ProjectGidSectionsBody(
{'name': section.name})
section_responses = section_instance.create_section_for_project(
project_gid, body=section_body
)
section.asana_gid = section_responses.data.gid
for task in project.tasks:
task_body = asana.TasksBody(
{'name': task.name, 'workspace': workspace_gid,
"projects": project_gid, "memberships": [
{
'project': project_gid,
'section': task.stage_id.asana_gid
}
]})
task_instance.create_task(task_body)
except Exception as exc:
raise ValidationError(
_('Please check the workspace ID or the app token')) from exc

33
asana_odoo_connector/models/project_task.py

@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Arjun S(odoo@cybrosys.com)
#
# 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 ProjectTask(models.Model):
"""
Inherits the model project.task to add extra fields for the working of
importing and exporting of the data from odoo to asana
"""
_inherit = 'project.task'
asana_gid = fields.Char(string='Asana GID',
help='Asana ID for the project record')

33
asana_odoo_connector/models/project_task_type.py

@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Arjun S(odoo@cybrosys.com)
#
# 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 ProjectTaskType(models.Model):
"""
Inherits the model project.task.type to add the extra fields for importing
and exporting of the data from odoo to asana
"""
_inherit = 'project.task.type'
asana_gid = fields.Char(string='Asana GID',
help='Asana ID for the project record')

149
asana_odoo_connector/models/res_config_settings.py

@ -0,0 +1,149 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Arjun S(odoo@cybrosys.com)
#
# 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/>.
#
###############################################################################
import logging
import requests
from odoo import fields, models, _
from odoo.exceptions import ValidationError
_logger = logging.getLogger(__name__)
try:
import asana
except ImportError:
_logger.debug('Cannot `import asana`.')
def action_notify(success):
"""
Method action_notify used to notify whether the connection to the asana is
successful or not.
"""
notification = {
'type': 'ir.actions.client',
'tag': 'display_notification',
'params': {
'title': _('Connection successful!') if success is True else _(
'Connection not successful!'),
'message': 'Connection to Asana is successful.' if success is True else 'Connection to Asana is not successful.',
'sticky': True,
'type': 'success' if success is True else 'danger'
}
}
return notification
def action_import_project_stages(project_gid, api_client):
"""
Method action_import_project_stages used to import the project stages from
asana to odoo
"""
api_instance = asana.SectionsApi(api_client)
section_response = api_instance.get_sections_for_project(
project_gid)
return section_response
class ResConfigSettings(models.TransientModel):
"""
Inherits the model Res Config Settings to add extra fields and
functionalities to this model
"""
_inherit = 'res.config.settings'
workspace_gid = fields.Char(string='Workspace ID',
help='ID of the workspace in asana',
config_parameter='asana_odoo_connector.workspace_gid')
app_token = fields.Char(string='App Token',
help='Personal Access Token of the corresponding '
'asana account',
config_parameter='asana_odoo_connector.app_token')
def action_test_asana(self):
"""
Method action_test_asana to test the connection from odoo to asana
"""
workspace_gid = self.workspace_gid
api_endpoint = f'https://app.asana.com/api/1.0/workspaces/{workspace_gid}'
access_token = self.app_token
headers = {
'Authorization': f'Bearer {access_token}',
}
response = requests.get(api_endpoint, headers=headers, timeout=10)
if response.status_code == 200:
success = True
notification = action_notify(success)
self.env['ir.config_parameter'].sudo().set_param(
'asana_odoo_connector.connection_successful', True)
return notification
success = False
notification = action_notify(success)
return notification
def action_import_projects(self):
"""
Method action_import_projects to import the project from asana to odoo
"""
configuration = asana.Configuration()
configuration.access_token = self.app_token
api_client = asana.ApiClient(configuration)
project_instance = asana.ProjectsApi(api_client)
workspace = self.workspace_gid
try:
project_response = project_instance.get_projects(
workspace=workspace)
for project in project_response.data:
asana_gid = project.gid
existing_project = self.env['project.project'].search(
[('asana_gid', '=', asana_gid)])
if not existing_project:
section_data = action_import_project_stages(
project_gid=asana_gid,
api_client=api_client)
type_ids = [
(0, 0, {'name': section.name, 'asana_gid': section.gid})
for section in section_data.data]
new_project = self.env['project.project'].create({
'name': project.name,
'asana_gid': asana_gid,
'type_ids': type_ids
})
self.action_import_tasks(
api_client=api_client, section_data=section_data,
project_id=new_project.id)
except Exception as exc:
raise ValidationError(
_('Please check the workspace ID or the app token')) from exc
def action_import_tasks(self, api_client, section_data, project_id):
"""
Method action_import_tasks to import tasks from the asana to odoo
"""
api_instance = asana.TasksApi(api_client)
for section in section_data.data:
task_response = api_instance.get_tasks_for_section(section.gid)
for task in task_response.data:
self.env['project.task'].create({
'name': task.name,
'asana_gid': task.gid,
'stage_id': self.env['project.task.type'].search(
[('asana_gid', '=', section.gid)]).id,
'project_id': project_id
})

BIN
asana_odoo_connector/static/description/assets/icons/asana-pic.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
asana_odoo_connector/static/description/assets/modules/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
asana_odoo_connector/static/description/assets/modules/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
asana_odoo_connector/static/description/assets/modules/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
asana_odoo_connector/static/description/assets/modules/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
asana_odoo_connector/static/description/assets/modules/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
asana_odoo_connector/static/description/assets/modules/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 KiB

BIN
asana_odoo_connector/static/description/assets/screenshots/10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
asana_odoo_connector/static/description/assets/screenshots/11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
asana_odoo_connector/static/description/assets/screenshots/12.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
asana_odoo_connector/static/description/assets/screenshots/13.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
asana_odoo_connector/static/description/assets/screenshots/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

BIN
asana_odoo_connector/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
asana_odoo_connector/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

657
asana_odoo_connector/static/description/index.html

@ -0,0 +1,657 @@
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between"
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="assets/misc/cybrosys-logo.png" width="42" height="42"
style="width: 42px; height: 42px;"/>
<div>
<div style="color:#017E84; font-size:14px; font-family:'Montserrat', sans-serif; font-weight:bold; background-color:white; display:inline-block; padding:3px 10px; border-radius:50px"
class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh
</div>
<div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
</div>
</div>
<!-- END OF TITLE BAR -->
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
Asana Odoo Connector</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">
This Module Will Helps To Connect The Projects And Tasks In
The Odoo To Asana Also Vice Versa</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/hero.gif" class="img-responsive"
style="width: 100%; margin-left: auto; margin-right: auto;"/>
</div>
</div>
</div>
</div>
<!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/compass.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Explore This Module</h2>
</div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
<div class="col-sm-12 col-md-6 my-3">
<a href="#overview">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn More About This Module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#features">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View Features of This Module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#screenshots">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View Screenshots for This Module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
</div>
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pie-chart.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Overview</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4">This module helps to connect the Odoo and Asana
to show the Projects and Tasks in Odoo at Asana also vice versa.
</div>
</div>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/features.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Features</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Easy to import Projects from Asana to Odoo</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Easy to export Projects from Odoo to Asana</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Easy to import Projects Stages from Asana to Odoo</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Easy to export Projects Stages from Odoo to Asana</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Easy to import Tasks from Asana to Odoo according to the Project Stages</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Easy to export Tasks from Odoo to Asana according to the Project Stages</span>
</div>
</div>
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pictures.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Screenshots</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Go to the Settings page.
</h3>
<img src="assets/screenshots/1.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Go to the Asana settings section. You can get a new asana
account from <a
href="https://app.asana.com/-/login">here</a>
</h3>
<img src="assets/screenshots/2.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
In the Asana settings section you can provide your Asana
Workspace ID and your Personal Access Token (PAT) as App Token.
</h3>
<img src="assets/screenshots/3.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
To get the App Token first you need to go the settings by
clicking on the Settings button.
</h3>
<img src="assets/screenshots/4.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Then under the Apps section you need to click on Manage
Developer Apps option.
</h3>
<img src="assets/screenshots/5.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
From here you can see the existing tokens and also you can
create new app token by clicking on the button Create new token.
</h3>
<img src="assets/screenshots/6.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
To get the Workspace ID you need to go to <a
href="https://developers.asana.com/reference/getworkspaces">this
link</a> and then
as per the image you need to fill your App Token on
AUTHORIZATION section and then click on the button Try It!, as
you can see in the Response section you can get the Workspace
ID's of the workspaces from here.
</h3>
<img src="assets/screenshots/7.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
If you want to test the connection from Odoo to Asana you can
click the TEST button, if the connection is success then it will
be shown as in a popup as connection successful.
</h3>
<img src="assets/screenshots/8.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
From the IMPORT PROJECTS AND TASKS button you can import the
Projects and Tasks from Asana to Odoo if the Projects are not
already imported then the Projects will be get imported also the
corresponding Tasks will be imported according to the Project
Sections from Asana.
</h3>
<img src="assets/screenshots/9.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Here you can see the imported project from Asana in Odoo.
</h3>
<img src="assets/screenshots/10.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Here you can see the imported project from Asana in Odoo in
Asana.
</h3>
<img src="assets/screenshots/11.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Here you can see the option Export to Asana, which will act as
the projects will be exported into the asana also the project
stages, also tasks according to each project stage will be
exported into asana.
</h3>
<img src="assets/screenshots/12.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Here you can see the exported Projects from Odoo to Asana in
Asana.
</h3>
<img src="assets/screenshots/13.png" class="img-thumbnail">
</div>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related Products</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/project_dashboard_odoo/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/1.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/project_task_timer/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/2.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/projects_task_checklists/#"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/3.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active"
style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/task_deadline_reminder/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/4.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/project_report_pdf/#"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/5.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/project_task_attachments/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/6.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" 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="#demo1"
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>
</div>
<!-- END OF RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/star.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Customization</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Support</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire Odoo Developer</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Integration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Migration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Consultancy</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo Licensing Consultancy</h6>
</div>
</div>
</div>
<!-- END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/corporate.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Industries</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/trading-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily Procure And Sell Your Products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/pos-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy Configuration and Convivial Experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/education-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A Platform for Educational Management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/manufacturing-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, Track and Schedule Your Operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/ecom-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile friendly, awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/service-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/restaurant-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/hotel-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An all-inclusive hotel management application</p>
</div>
</div>
</div>
</div>
<!-- END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support</h2>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/support.png" height="48" width="48"
style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need help?
Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/whatsapp.png" height="52" width="52"
style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
+91 86068 27707</p>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
</div>
<!-- END OF SUPPORT -->

22
asana_odoo_connector/views/project_project_views.xml

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--This is the inherited form view of the project project -->
<record id="edit_project" model="ir.ui.view">
<field name="name">
project.project.view.form.inherit.asana.odoo.connector
</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="project.edit_project"/>
<field name="arch" type="xml">
<xpath expr="//notebook" position="inside">
<page string="Asana">
<group>
<group>
<field name="asana_gid"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>

24
asana_odoo_connector/views/project_task_type_views.xml

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--This is the inherited form view of the model project task type-->
<record id="task_type_edit" model="ir.ui.view">
<field name="name">
project.task.type.view.form.inherit.asana.odoo.connector
</field>
<field name="model">project.task.type</field>
<field name="inherit_id" ref="project.task_type_edit"/>
<field name="arch" type="xml">
<xpath expr="//sheet" position="inside">
<notebook>
<page string="Asana">
<group>
<group>
<field name="asana_gid"/>
</group>
</group>
</page>
</notebook>
</xpath>
</field>
</record>
</odoo>

22
asana_odoo_connector/views/project_task_views.xml

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--This is the inherited form view of the model project task-->
<record id="view_task_form2" model="ir.ui.view">
<field name="name">
project.task.view.form.inherit.asana.odoo.connector
</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2"/>
<field name="arch" type="xml">
<xpath expr="//notebook" position="inside">
<page string="Asana">
<group>
<group>
<field name="asana_gid"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>

56
asana_odoo_connector/views/res_config_settings_views.xml

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--This is the inherited form view of the model res config settings-->
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">
res.config.settings.view.form.inherit.asana.odoo.connector
</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('settings')]" position="inside">
<div class="app_settings_block" data-string="Asana"
string="Asana" data-key="asana_odoo_connector">
<h2>Asana Settings</h2>
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<span class="o_form_label">Workspace ID</span>
<div class="text-muted content-group mt16">
<field name="workspace_gid"
class="text-center oe_inline"/>
</div>
</div>
<div class="o_setting_right_pane">
<span class="o_form_label">App Token</span>
<div class="text-muted content-group mt16">
<field name="app_token"
class="text-center oe_inline"/>
</div>
</div>
<div class="o_setting_right_pane">
<button class="btn btn-primary" type="object"
name="action_test_asana" string="Test"/>
</div>
</div>
</div>
<div class="app_settings_block" data-string="Asana"
string="Asana" data-key="asana_odoo" >
<h2>Asana Import Settings</h2>
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<button class="btn btn-primary"
type="object"
name="action_import_projects"
string="Import Projects and Tasks"/>
</div>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>
Loading…
Cancel
Save