Browse Source

Oct 06 : [ADD] Initial Commit 'hubspot_odoo_connector'

pull/295/head
RisvanaCybro 2 years ago
parent
commit
95cfbb4acb
  1. 52
      hubspot_odoo_connector/README.rst
  2. 22
      hubspot_odoo_connector/__init__.py
  3. 57
      hubspot_odoo_connector/__manifest__.py
  4. 7
      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/1.png
  48. BIN
      hubspot_odoo_connector/static/description/assets/modules/2.png
  49. BIN
      hubspot_odoo_connector/static/description/assets/modules/3.png
  50. BIN
      hubspot_odoo_connector/static/description/assets/modules/4.png
  51. BIN
      hubspot_odoo_connector/static/description/assets/modules/5.png
  52. BIN
      hubspot_odoo_connector/static/description/assets/modules/6.png
  53. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/1.png
  54. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/10.png
  55. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/11.png
  56. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/12.png
  57. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/13.png
  58. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/14.png
  59. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/15.png
  60. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/2.png
  61. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/3.png
  62. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/4.png
  63. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/5.png
  64. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/6.png
  65. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/7.png
  66. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/8.png
  67. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/9.png
  68. BIN
      hubspot_odoo_connector/static/description/assets/screenshots/hero.gif
  69. BIN
      hubspot_odoo_connector/static/description/banner.jpg
  70. BIN
      hubspot_odoo_connector/static/description/icon.png
  71. 660
      hubspot_odoo_connector/static/description/index.html
  72. 52
      hubspot_odoo_connector/views/crm_lead_views.xml
  73. 169
      hubspot_odoo_connector/views/hubspot_connector_views.xml
  74. 54
      hubspot_odoo_connector/views/hubspot_sync_history_views.xml
  75. 53
      hubspot_odoo_connector/views/res_company_views.xml
  76. 56
      hubspot_odoo_connector/views/res_partner_views.xml

52
hubspot_odoo_connector/README.rst

@ -0,0 +1,52 @@
.. 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 16.
configuration
============
* Install Python Package - hubspot-api-client:
- Type command "pip install hubspot-api-client" on terminal for install python api package.
Installation
============
- www.odoo.com/documentation/16.0/setup/install.html
- Install our custom addon
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
==========
This module is maintained by Cybrosys Technologies.
For support and more information, please visit https://www.cybrosys.com
.. image:: https://cybrosys.com/images/logo.png
:target: https://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: 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 models

57
hubspot_odoo_connector/__manifest__.py

@ -0,0 +1,57 @@
# -*- 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/>.
#
#############################################################################
{
'name': 'HubSpot Odoo Connector',
'version': '16.0.1.0.0',
'category': 'Marketing',
'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': ['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.jpg',
],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': True,
}

7
hubspot_odoo_connector/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <hubspot_odoo_connector>
#### 25.09.2023
#### Version 16.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.hs.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.hs.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/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 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.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: 89 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 KiB

BIN
hubspot_odoo_connector/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

BIN
hubspot_odoo_connector/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

660
hubspot_odoo_connector/static/description/index.html

@ -0,0 +1,660 @@
<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.</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;">
Activate Hubspot Odoo Connector Module.
</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;">
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/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;">
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; For Create Private App "https://app.hubspot.com/private-apps/".
</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 Name and Access Token and Owner ID of the Instance
in Odoo
</p>
<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;">
Once it is Connected, the State Will be Changed to CONNECTED
and The Sync Options Will be Visible.
</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;">
Then You Can Enable Different Sync Options by Toggle Buttons Then Click Sync Button.
</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;">
After Sync the Last Sync Time and The Success Message Will be Shown.
</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;">
Exported Contacts in Hubspot.
</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 History Record in Configuration -> SyncHistory.
</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;">
Same Options are Available for SyncCompany.
</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;">
Exported Companies in Hubspot.
</h3>
<img src="assets/screenshots/13.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/14.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;">
Exported Deals in Hubspot.
</h3>
<img src="assets/screenshots/15.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/employee_documents_expiry/"
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/hr_zk_attendance/"
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/hr_contract_types/"
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/timesheets_by_employee/"
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/employee_orientation/"
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/automatic_payroll/"
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 -->

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