Browse Source

Feb 20 : [ADD] Initial Commit 'hubspot_odoo_connector'

pull/195/merge
RisvanaCybro 1 year ago
parent
commit
5a42856544
  1. 49
      hubspot_odoo_connector/README.rst
  2. 22
      hubspot_odoo_connector/__init__.py
  3. 56
      hubspot_odoo_connector/__manifest__.py
  4. 6
      hubspot_odoo_connector/doc/RELEASE_NOTES.md
  5. 26
      hubspot_odoo_connector/models/__init__.py
  6. 33
      hubspot_odoo_connector/models/crm_lead.py
  7. 1000
      hubspot_odoo_connector/models/hubspot_connector.py
  8. 61
      hubspot_odoo_connector/models/hubspot_sync_history.py
  9. 36
      hubspot_odoo_connector/models/res_company.py
  10. 34
      hubspot_odoo_connector/models/res_partner.py
  11. 16
      hubspot_odoo_connector/security/hubspot_odoo_connector_groups.xml
  12. 5
      hubspot_odoo_connector/security/ir.model.access.csv
  13. BIN
      hubspot_odoo_connector/static/description/assets/icons/check.png
  14. BIN
      hubspot_odoo_connector/static/description/assets/icons/chevron.png
  15. BIN
      hubspot_odoo_connector/static/description/assets/icons/cogs.png
  16. BIN
      hubspot_odoo_connector/static/description/assets/icons/consultation.png
  17. BIN
      hubspot_odoo_connector/static/description/assets/icons/ecom-black.png
  18. BIN
      hubspot_odoo_connector/static/description/assets/icons/education-black.png
  19. BIN
      hubspot_odoo_connector/static/description/assets/icons/hotel-black.png
  20. BIN
      hubspot_odoo_connector/static/description/assets/icons/license.png
  21. BIN
      hubspot_odoo_connector/static/description/assets/icons/lifebuoy.png
  22. BIN
      hubspot_odoo_connector/static/description/assets/icons/logo.png
  23. BIN
      hubspot_odoo_connector/static/description/assets/icons/manufacturing-black.png
  24. BIN
      hubspot_odoo_connector/static/description/assets/icons/pos-black.png
  25. BIN
      hubspot_odoo_connector/static/description/assets/icons/puzzle.png
  26. BIN
      hubspot_odoo_connector/static/description/assets/icons/restaurant-black.png
  27. BIN
      hubspot_odoo_connector/static/description/assets/icons/service-black.png
  28. BIN
      hubspot_odoo_connector/static/description/assets/icons/trading-black.png
  29. BIN
      hubspot_odoo_connector/static/description/assets/icons/training.png
  30. BIN
      hubspot_odoo_connector/static/description/assets/icons/update.png
  31. BIN
      hubspot_odoo_connector/static/description/assets/icons/user.png
  32. BIN
      hubspot_odoo_connector/static/description/assets/icons/wrench.png
  33. BIN
      hubspot_odoo_connector/static/description/assets/misc/categories.png
  34. BIN
      hubspot_odoo_connector/static/description/assets/misc/check-box.png
  35. BIN
      hubspot_odoo_connector/static/description/assets/misc/compass.png
  36. BIN
      hubspot_odoo_connector/static/description/assets/misc/corporate.png
  37. BIN
      hubspot_odoo_connector/static/description/assets/misc/customer-support.png
  38. BIN
      hubspot_odoo_connector/static/description/assets/misc/cybrosys-logo.png
  39. BIN
      hubspot_odoo_connector/static/description/assets/misc/features.png
  40. BIN
      hubspot_odoo_connector/static/description/assets/misc/logo.png
  41. BIN
      hubspot_odoo_connector/static/description/assets/misc/pictures.png
  42. BIN
      hubspot_odoo_connector/static/description/assets/misc/pie-chart.png
  43. BIN
      hubspot_odoo_connector/static/description/assets/misc/right-arrow.png
  44. BIN
      hubspot_odoo_connector/static/description/assets/misc/star.png
  45. BIN
      hubspot_odoo_connector/static/description/assets/misc/support.png
  46. BIN
      hubspot_odoo_connector/static/description/assets/misc/whatsapp.png
  47. BIN
      hubspot_odoo_connector/static/description/assets/modules/live_chat.png
  48. BIN
      hubspot_odoo_connector/static/description/assets/modules/slack.png
  49. BIN
      hubspot_odoo_connector/static/description/assets/modules/twitter.png
  50. BIN
      hubspot_odoo_connector/static/description/assets/modules/whatsapp.gif
  51. BIN
      hubspot_odoo_connector/static/description/assets/modules/zoom_meet.jpg
  52. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/1.png
  53. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/10.png
  54. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/2.1.png
  55. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/2.2.png
  56. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/2.3.png
  57. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/2.png
  58. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/3.png
  59. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/4.png
  60. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/5.1.png
  61. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/5.png
  62. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/6.png
  63. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/7.png
  64. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/8.png
  65. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/hero.gif
  66. BIN
      hubspot_odoo_connector/static/description/banner.png
  67. BIN
      hubspot_odoo_connector/static/description/icon.png
  68. 694
      hubspot_odoo_connector/static/description/index.html
  69. 52
      hubspot_odoo_connector/views/crm_lead_views.xml
  70. 169
      hubspot_odoo_connector/views/hubspot_connector_views.xml
  71. 54
      hubspot_odoo_connector/views/hubspot_sync_history_views.xml
  72. 53
      hubspot_odoo_connector/views/res_company_views.xml
  73. 56
      hubspot_odoo_connector/views/res_partner_views.xml

49
hubspot_odoo_connector/README.rst

@ -0,0 +1,49 @@
.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
HubSpot Odoo Connector
======================
HubSpot Odoo Connector Module for Odoo 15.
Installation
============
- www.odoo.com/documentation/15.0/setup/install.html
- pip install hubspot-api-client
License
-------
General Public License, Version 3 (LGPL v3).
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html)
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
* Developers: (V16) Vishnuraj P
(V15) Neethu U M , Jumana Jabin MP
* 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 https://www.cybrosys.com
Further information
===================
HTML Description: `<static/description/index.html>`__

22
hubspot_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: Jumana Jabin MP (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import models

56
hubspot_odoo_connector/__manifest__.py

@ -0,0 +1,56 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Jumana Jabin MP (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
{
'name': 'HubSpot Odoo Connector',
'version': '15.0.1.0.0',
'summary': 'This module integrate Hubspot with odoo',
'description': """ This module integrates HubSpot with Odoo to sync
contacts, companies, and deals. It allows seamless integration between
HubSpot and Odoo, enabling the synchronization of important data such as
contacts, companies, and deals between the two systems. With this connector,
you can ensure that your customer data remains consistent and up-to-date in
both HubSpot and Odoo, streamlining your sales and marketing processes.""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'depends': ['base', 'crm', 'project'],
'data': [
'security/hubspot_odoo_connector_groups.xml',
'security/ir.model.access.csv',
'views/hubspot_connector_views.xml',
'views/hubspot_sync_history_views.xml',
'views/res_partner_views.xml',
'views/res_company_views.xml',
'views/crm_lead_views.xml',
],
"external_dependencies": {
'python': ['hubspot-api-client']
},
'images': [
'static/description/banner.png',
],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': True,
}

6
hubspot_odoo_connector/doc/RELEASE_NOTES.md

@ -0,0 +1,6 @@
## Module <hubspot_odoo_connector>
#### 09.02.2024
#### Version 15.0.1.0.0
#### ADD
- Initial commit for HubSpot Odoo Connector

26
hubspot_odoo_connector/models/__init__.py

@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj P (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import crm_lead
from . import hubspot_connector
from . import hubspot_sync_history
from . import res_company
from . import res_partner

33
hubspot_odoo_connector/models/crm_lead.py

@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj P (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import fields, models
class CrmLead(models.Model):
""" Model to add sync info to CrmLead model """
_inherit = 'crm.lead'
hs_object_id = fields.Char(string="Hubspot ID",
help="Hubspot ID associated with this record.")
sync_mode = fields.Selection(
selection=[('import', 'HS Imported'), ('export', 'HS Exported')],
string='Sync Mode', help="Sync mode for the record.")

1000
hubspot_odoo_connector/models/hubspot_connector.py

File diff suppressed because it is too large

61
hubspot_odoo_connector/models/hubspot_sync_history.py

@ -0,0 +1,61 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj P (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import api, fields, models
class HubspotSyncHistory(models.Model):
"""
model to set up the import/export history related to hubspot connector """
_name = 'hubspot.sync.history'
_description = 'Sync History'
_rec_name = 'record_name'
record_name = fields.Char(string="Record Name", compute='_compute_rec_name',
help="To show unique record name")
date = fields.Date(
string="Sync Date",
help="The date of the synchronization for this record.")
res_model_id = fields.Many2one(comodel_name='ir.model', string="Model",
help="The model associated with this record")
sync_mode = fields.Selection(
selection=[
('import', 'Imported'),
('export', 'Exported'),
('hub_updated', 'Hubspot Updated'),
('odoo_updated', 'Odoo Updated')],
string='Sync Mode',
help="The synchronization mode for the record.")
state = fields.Selection(
selection=[('success', 'Success'), ('error', 'Failed')],
string='Status', readonly=True, required=True,
copy=False, help="The status of the synchronization process.")
count = fields.Integer(string="Count",
help="The count associated with this record.")
error = fields.Text(string="Reason",
help="The reason for any errors or failures that "
"occurred during synchronization.")
@api.depends('date', 'res_model_id', 'count')
def _compute_rec_name(self):
for rec in self:
rec.record_name = (f"{self.date}"
f" : {self.res_model_id.name}-{self.count}")

36
hubspot_odoo_connector/models/res_company.py

@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj P (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import fields, models
class ResCompany(models.Model):
""" Adding new fields related to hubspot import/export in Company """
_inherit = 'res.company'
hs_object_id = fields.Char(string="Hubspot ID",
help="Hubspot ID associated with this record.")
sync_mode = fields.Selection(
selection=[('import', 'HS Imported'), ('export', 'HS Exported')],
string='Sync Mode',
help="Sync mode for the record. 'HS Imported' indicates the record was"
" imported from Hubspot, while 'HS Exported' indicates the record"
" was exported to Hubspot.")

34
hubspot_odoo_connector/models/res_partner.py

@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj P (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import fields, models
class ResPartner(models.Model):
""" New fields related to hubspot connector """
_inherit = 'res.partner'
hs_object_id = fields.Char(string="Hubspot ID",
help="Hubspot ID associated with this record")
sync_mode = fields.Selection(
selection=[('import', 'HS Imported'), ('export', 'HS Exported')],
string='Sync Mode',
help="The synchronization mode for the record.")

16
hubspot_odoo_connector/security/hubspot_odoo_connector_groups.xml

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Record for add module category -->
<record id="module_category_hubspot_manager" model="ir.module.category">
<field name="name">Hubspot Manager</field>
<field name="sequence">17</field>
<field name="description">Helps you manage the Hubspot.</field>
</record>
<!-- Record for adding hubspot manager group -->
<record id="group_hubspot_manager" model="res.groups">
<field name="name">Hubspot Manager</field>
<field name="category_id"
ref="hubspot_odoo_connector.module_category_hubspot_manager"/>
<field name="implied_ids" eval="[(6, 0, [ref('base.group_user')])]"/>
</record>
</odoo>

5
hubspot_odoo_connector/security/ir.model.access.csv

@ -0,0 +1,5 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hubspot_connector,access.hubspot.connector,model_hubspot_connector,base.group_user,1,0,0,0
access_hubspot_connector_hubspot_manager,access.hubspot.connector.manager,model_hubspot_connector,hubspot_odoo_connector.group_hubspot_manager,1,1,1,1
access_hubspot_sync_history,access.hubspot.sync.history,model_hubspot_sync_history,base.group_user,1,0,0,0
access_hubspot_sync_history_hs_manager,access.hubspot.sync.history.manager,model_hubspot_sync_history,hubspot_odoo_connector.group_hubspot_manager,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hubspot_connector access.hubspot.connector model_hubspot_connector base.group_user 1 0 0 0
3 access_hubspot_connector_hubspot_manager access.hubspot.connector.manager model_hubspot_connector hubspot_odoo_connector.group_hubspot_manager 1 1 1 1
4 access_hubspot_sync_history access.hubspot.sync.history model_hubspot_sync_history base.group_user 1 0 0 0
5 access_hubspot_sync_history_hs_manager access.hubspot.sync.history.manager model_hubspot_sync_history hubspot_odoo_connector.group_hubspot_manager 1 1 1 1

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
hubspot_odoo_connector/static/description/assets/icons/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
hubspot_odoo_connector/static/description/assets/modules/live_chat.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
hubspot_odoo_connector/static/description/assets/modules/slack.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
hubspot_odoo_connector/static/description/assets/modules/twitter.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
hubspot_odoo_connector/static/description/assets/modules/whatsapp.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

BIN
hubspot_odoo_connector/static/description/assets/modules/zoom_meet.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
hubspot_odoo_connector/static/description/assets/screenshots/2.1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
hubspot_odoo_connector/static/description/assets/screenshots/2.2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
hubspot_odoo_connector/static/description/assets/screenshots/2.3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

BIN
hubspot_odoo_connector/static/description/assets/screenshots/5.1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

BIN
hubspot_odoo_connector/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
hubspot_odoo_connector/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

694
hubspot_odoo_connector/static/description/index.html

@ -0,0 +1,694 @@
<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: #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 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>
</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;">
Hubspot Odoo Connector</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">
This Module Integrates Hubspot with Odoo to Sync
Contacts, Companies, and Deals.</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">
In this module we integrate the HubSpot with odoo. HubSpot acts
as a solution hack for CRM, sale and
marketing.
By integrating this both of them we can thereby benefit from the
best of both worlds.
With the help of this connector, you can link the two systems
and elevate customer relationship
management to a new level of client satisfaction and increased
productivity.
</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;">Allowed to Create Multiple HubSpot Instance.</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;">Import, Export and Update Contacts.</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;">Import, Export and Update Companies.</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;">Import, Export and Update Deals.</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;">Sync History for all export, Import and Update.</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;">
Configure Access Right.
</h3>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Go to Settings -> Users -> Select User -> Select Access Rights
for 'HubSpot Manager'
</p>
<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;">
Generate Token in HubSpot.
</h3>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Create a private app in HubSpot and get the Access Token
</p>
<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;">
Get owner ID from Hubspot.
</h3>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Go to Properties of hubspot settings
</p>
<img src="assets/screenshots/4.png" class="img-thumbnail">
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Search for owner, select 'Contact Owner' and Copy the internal
Value
</p>
<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;">
Create HubSpot Instance In Odoo then CONNECT.
</h3>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Provide the Instance Name and Access Token and Owner ID of the Instance
in odoo
</p>
<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;">
Once it is connected, the state will be changed to CONNECTED
and the sync options will be visible.
</h3>
<img src="assets/screenshots/2.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;">
Then you can enable different Sync options by Toggle Buttons
then Sync Button.
</h3>
<img src="assets/screenshots/2.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;">
After sync the last sync time and the success message will be
shown.
</h3>
<img src="assets/screenshots/2.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;">
The Sync History record in Configuration -> Hubspot Sync History.
</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;">
The Sync Contacts Can be seen in Hubspot.
</h3>
<img src="assets/screenshots/5.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;">
Same Options are available for SyncCompany.
</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;">
The Sync Company Can be seen in Hubspot.
</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;">
Same Options are available for SyncDeals.
</h3>
<img src="assets/screenshots/7.png" class="img-thumbnail">
</div>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- SUGGESTED PRODUCTS -->
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center"
style="text-align: center; padding: 2.5rem 1rem !important;">
<h2 style="color: #212529 !important;">Suggested Products</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
<div id="demo1" class="row carousel slide"
data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active"
style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/odoo_zoom_meet_integration/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/zoom_meet.jpg">
</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/15.0/whatsapp_mail_messaging/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/whatsapp.gif">
</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/15.0/recruitment_twitter/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/twitter.png">
</div>
</a>
</div>
</div>
<div class="carousel-item" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/integration_whatsapp_chat_live/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/live_chat.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/15.0/odoo_slack_connector/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/slack.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1"
data-slide="prev"
style="left:-25px;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="right:-25px;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 SUGGESTED PRODUCTS -->
<!-- OUR SERVICES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Services</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</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: #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>
</section>
<!-- END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Industries</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; 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: 10px; 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: 10px; 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: 10px; 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: 10px; 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: 10px; 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: 10px; 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: 10px; 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>
</section>
<!-- END OF OUR INDUSTRIES -->
<!-- FOOTER -->
<!-- Footer Section -->
<section class="container" style="margin: 5rem auto 2rem;">
<div class="row" style="max-width:1540px;">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Need Help?</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
</div>
<!-- Contact Cards -->
<div class="row d-flex justify-content-center align-items-center"
style="max-width:1540px; margin: 0 auto 2rem auto;">
<div class="col-lg-12"
style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; ">
<div class="row mt-4">
<div class="col-lg-6">
<a href="mailto:odoo@cybrosys.com" target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a>
</div>
<div class="col-lg-6">
<a href="https://api.whatsapp.com/send?phone=918606827707"
target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i
class="fa fa-whatsapp mr-2"></i>+91 86068
27707</a>
</div>
</div>
</div>
</div>
<!-- End of Contact Cards -->
</section>
<!-- Footer -->
<section class="oe_container" style="padding: 2rem 3rem 1rem;">
<div class="row"
style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center"
style="margin-top: 3rem;">
<img src="https://www.cybrosys.com/images/logo.png"
width="200px" height="auto"/>
</div>
<!-- End of Logo -->
<div class="col-lg-12">
<hr
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;">
<!-- End of Footer Section -->
</div>
</div>
</section>
<!-- END OF FOOTER -->

52
hubspot_odoo_connector/views/crm_lead_views.xml

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Record inherit and shows additional fields in crm.lead form view -->
<record id="crm_lead_view_form" model="ir.ui.view">
<field name="name">crm.lead.view.form.inherit.hubspot.odoo.connector</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_lead_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='company_id']"
position="after">
<field name="hs_object_id"/>
<field name="sync_mode"/>
</xpath>
</field>
</record>
<!-- Menu action for Deals Exported. -->
<record id="hubspot_deals_export_action" model="ir.actions.act_window">
<field name="name">Opportunities</field>
<field name="res_model">crm.lead</field>
<field name="view_mode">kanban,tree,graph,pivot,form,calendar,activity</field>
<field name="domain">[('sync_mode', '=', 'export')]</field>
<field name="help" type="html">
<p>
Odoo helps you track all exported leads from Hubspot.
</p>
</field>
</record>
<!-- Menu action record for Deals Imported. -->
<record id="hubspot_deals_import_action" model="ir.actions.act_window">
<field name="name">Opportunities</field>
<field name="res_model">crm.lead</field>
<field name="view_mode">kanban,tree,graph,pivot,form,calendar,activity</field>
<field name="domain">[('sync_mode', '=', 'import')]</field>
<field name="help" type="html">
<p>
Odoo helps you track all exported leads to Hubspot.
</p>
</field>
</record>
<!-- Menus for Deals -->
<menuitem id="crm_lead_menu"
name="Deals"
parent="hubspot_connector_menu_root"/>
<menuitem id="crm_lead_menu_action_import"
name="Deals Import"
action="hubspot_deals_import_action"
parent="crm_lead_menu"/>
<menuitem id="crm_lead_menu_action_export"
name="Deals Export"
action="hubspot_deals_export_action"
parent="crm_lead_menu"/>
</odoo>

169
hubspot_odoo_connector/views/hubspot_connector_views.xml

@ -0,0 +1,169 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Record for Form view of hubspot.connector -->
<record id="hubspot_connector_view_form" model="ir.ui.view">
<field name="name">hubspot.connector.view.form</field>
<field name="model">hubspot.connector</field>
<field name="arch" type="xml">
<form>
<header>
<field name="state" widget="statusbar" clickable="1"/>
</header>
<sheet>
<field name="connection" attrs="{'invisible': 1}"/>
<div name="button_box" position="inside">
<button class="oe_stat_button" type="object"
name="action_connect"
attrs="{'invisible': [('connection', '=', True)]}"
icon="fa-link" string="CONNECT">
</button>
<button class="oe_stat_button" type="object"
name="action_connect"
attrs="{'invisible': [('connection', '=', False)]}"
icon="fa-link" string="CLOSE">
</button>
</div>
<div class="oe_title">
<label for="name"/>
<h1>
<field name="name"
placeholder="e.g. Hubspot Instance"
required="1"/>
</h1>
</div>
<group>
<group string="Authorization" attrs="{'invisible': [('connection', '=', True)]}">
<field name="owner_id"/>
<field name="access_key"/>
</group>
</group>
<notebook
attrs="{'invisible': [('connection', '=', False)]}">
<page string=" Sync Contacts">
<group>
<group>
<field name="export_contacts"
widget="boolean_toggle"/>
<field name="contacts_last_exported"
attrs="{'invisible': [('export_contacts', '=', False)]}"/>
<field name="import_contacts"
widget="boolean_toggle"/>
<field name="contacts_last_imported"
attrs="{'invisible': [('import_contacts', '=', False)]}"/>
<field name="update_odoo_contacts"
widget="boolean_toggle"/>
<field style="white-space: pre-wrap;"
name="odoo_contact_last_updated"
attrs="{'invisible': [('update_odoo_contacts', '=', False)]}"/>
<field name="update_hub_contacts"
widget="boolean_toggle"/>
<field name="hub_contact_last_updated"
attrs="{'invisible': [('update_hub_contacts', '=', False)]}"/>
</group>
<group>
<button name="action_contact_sync"
type="object"
class="btn btn-outline-dark"
attrs="{'invisible': [('export_contacts', '=', False),('import_contacts', '=', False),('update_odoo_contacts', '=', False),('update_hub_contacts', '=', False)]}">
<span style="white-space: nowrap;">
<span class="fa fa-refresh"/>
<span> Sync Contacts</span>
</span>
</button>
</group>
</group>
</page>
<page string="Sync Company">
<group>
<group>
<field name="import_company"
widget="boolean_toggle"/>
<field name="company_last_imported"
attrs="{'invisible': [('import_company', '=', False)]}"/>
<field name="export_company"
widget="boolean_toggle"/>
<field name="company_last_exported"
attrs="{'invisible': [('export_company', '=', False)]}"/>
<field name="update_odoo_company"
widget="boolean_toggle"/>
<field name="odoo_company_last_updated"
attrs="{'invisible': [('update_odoo_company', '=', False)]}"/>
<field name="update_hub_company"
widget="boolean_toggle"/>
<field name="hub_company_last_updated"
attrs="{'invisible': [('update_hub_company', '=', False)]}"/>
</group>
<group>
<button name="action_company_sync"
type="object"
class="btn btn-outline-dark"
attrs="{'invisible': [('export_company', '=', False),('import_company', '=', False),('update_odoo_company', '=', False),('update_hub_company', '=', False)]}">
<span style="white-space: nowrap;">
<span class="fa fa-refresh"/>
<span> Sync Company</span>
</span>
</button>
</group>
</group>
</page>
<page string="Sync Deals">
<group>
<group>
<field name="import_deals"
widget="boolean_toggle"/>
<field name="deals_last_imported"
attrs="{'invisible': [('import_deals', '=', False)]}"/>
<field name="export_deals"
widget="boolean_toggle"/>
<field name="deals_last_exported"
attrs="{'invisible': [('export_deals', '=', False)]}"/>
<field name="update_odoo_deals"
widget="boolean_toggle"/>
<field name="odoo_deal_last_updated"
attrs="{'invisible': [('update_odoo_deals', '=', False)]}"/>
<field name="update_hub_deals"
widget="boolean_toggle"/>
<field name="hub_deal_last_updated"
attrs="{'invisible': [('update_hub_deals', '=', False)]}"/>
</group>
<group>
<button name="action_deal_sync"
type="object"
class="btn btn-outline-dark"
attrs="{'invisible': [('export_deals', '=', False),('import_deals', '=', False),('update_odoo_deals', '=', False),('update_hub_deals', '=', False)]}">
<span style="white-space: nowrap;">
<span class="fa fa-refresh"/>
<span> Sync Deals</span>
</span>
</button>
</group>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<!-- Menu action for Hubspot connector -->
<record id="hubspot_connector_action" model="ir.actions.act_window">
<field name="name">Hubspot Connector</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">hubspot.connector</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Root Menu -->
<menuitem id="hubspot_connector_menu_root"
name="Hubspot Connector"
web_icon="hubspot_odoo_connector,static/description/icon.png"/>
<!-- Sub Menus -->
<menuitem id="hubspot_connector_menu"
name="HubSpot"
action="hubspot_connector_action"
parent="hubspot_connector_menu_root"/>
<menuitem id="hubspot_sync_history_menu"
name="Configuration"
parent="hubspot_connector_menu_root"
sequence="100"/>
</odoo>

54
hubspot_odoo_connector/views/hubspot_sync_history_views.xml

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Sync history tree view -->
<record id="hubspot_sync_history_view_tree" model="ir.ui.view">
<field name="name">hubspot.sync.history.view.tree</field>
<field name="model">hubspot.sync.history</field>
<field name="arch" type="xml">
<tree string="History">
<field name="res_model_id"/>
<field name="sync_mode"/>
<field name="date"/>
<field name="count"/>
</tree>
</field>
</record>
<!-- Sync history form view -->
<record id="hubspot_sync_history_view_form" model="ir.ui.view">
<field name="name">hubspot.sync.history.view.form</field>
<field name="model">hubspot.sync.history</field>
<field name="arch" type="xml">
<form string="Job">
<header>
<field name="state" widget="statusbar" statusbar_visible="success,error"/>
</header>
<sheet>
<group>
<group>
<field name="res_model_id" readonly="True"/>
<field name="sync_mode" readonly="True"/>
<field name="error"/>
</group>
<group>
<field name="date" readonly="True"/>
<field name="count" readonly="True"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<!-- Menu action for Sync History -->
<record id="hubspot_sync_history_action" model="ir.actions.act_window">
<field name="name">Hubspot Sync History</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">hubspot.sync.history</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Menu for Sync History -->
<menuitem
id="hubspot_sync_history_menu_action"
name="Sync History"
action="hubspot_sync_history_action"
parent="hubspot_sync_history_menu"/>
</odoo>

53
hubspot_odoo_connector/views/res_company_views.xml

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Record for inherit and add sync fields in company model. -->
<record id="view_company_form" model="ir.ui.view">
<field name="name">res.company.view.form.inherit.hubspot.odoo.connector</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="after">
<field name="hs_object_id"/>
<field name="sync_mode"/>
</xpath>
</field>
</record>
<!-- Menu action for Company Import. -->
<record id="res_company_import_action" model="ir.actions.act_window">
<field name="name">Company Import</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.company</field>
<field name="view_mode">tree,form</field>
<field name="domain">[('sync_mode', '=', 'import')]</field>
<field name="help" type="html">
<p>
Odoo helps you track all imported companies from Hubspot.
</p>
</field>
</record>
<!-- Menu action for Company Export -->
<record id="res_company_export_action" model="ir.actions.act_window">
<field name="name">Company Export</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.company</field>
<field name="view_mode">tree,form</field>
<field name="domain">[('sync_mode', '=', 'export')]</field>
<field name="help" type="html">
<p>
Odoo helps you track all exported companies to Hubspot.
</p>
</field>
</record>
<!-- Menus for Company -->
<menuitem id="res_company_menu"
name="Company"
parent="hubspot_connector_menu_root"/>
<menuitem id="res_company_menu_action_import"
name="Company Import"
action="res_company_import_action"
parent="res_company_menu"/>
<menuitem id="res_company_menu_action_export"
name="Company Export"
action="res_company_export_action"
parent="res_company_menu"/>
</odoo>

56
hubspot_odoo_connector/views/res_partner_views.xml

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Record for inherit and sync fields in partner model. -->
<record id="view_partner_form" model="ir.ui.view">
<field name="name">res.partner.view.form.inherit.hubspot.odoo.connector</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="after">
<field name="hs_object_id"/>
<field name="sync_mode"/>
</xpath>
</field>
</record>
<!-- Menu action for Partners import. -->
<record id="action_hubspot_contact_import" model="ir.actions.act_window">
<field name="name">Contacts</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.partner</field>
<field name="view_mode">kanban,tree,form,activity</field>
<field name="domain">[('sync_mode', '=', 'import')]</field>
<field name="help" type="html">
<p>
Odoo helps you track all imported contacts from Hubspot.
</p>
</field>
</record>
<!-- Menu action for Partner Export -->
<record id="action_hubspot_contact_export" model="ir.actions.act_window">
<field name="name">Contacts</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.partner</field>
<field name="view_mode">kanban,tree,form,activity</field>
<field name="domain">[('sync_mode', '=', 'export')]</field>
<field name="help" type="html">
<p>
Odoo helps you track all exported contacts to Hubspot.
</p>
</field>
</record>
<!-- Menus for Partners -->
<menuitem
id="res_partner_menu"
name="Contacts"
parent="hubspot_connector_menu_root"/>
<menuitem
id="res_partner_menu_action_import"
name="Contacts Import"
action="action_hubspot_contact_import"
parent="res_partner_menu"/>
<menuitem
id="res_partner_menu_action_export"
name="Contacts Export"
action="action_hubspot_contact_export"
parent="res_partner_menu"/>
</odoo>
Loading…
Cancel
Save