@ -0,0 +1,51 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg |
||||
|
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
Sync Google Task With Project Task |
||||
|
================================== |
||||
|
Google Task Integration for Project Tasks odoo app helps users to sync project tasks with google task. |
||||
|
|
||||
|
Installation |
||||
|
============ |
||||
|
- www.odoo.com/documentation/16.0/setup/install.html |
||||
|
- Install our custom addon |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
* No additional configurations needed |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
Affero General Public License, Version 3 (AGPL v3). |
||||
|
(https://www.gnu.org/licenses/agpl-3.0-standalone.htm) |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: (V16) 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>`__ |
@ -0,0 +1,24 @@ |
|||||
|
# -*- 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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import controllers |
||||
|
from . import models |
||||
|
from . import wizard |
@ -0,0 +1,48 @@ |
|||||
|
# -*- 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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
######################################################################### |
||||
|
{ |
||||
|
'name': "Sync Google Task With Project Task", |
||||
|
'version': '16.0.1.0.0', |
||||
|
'category': 'Project', |
||||
|
'summary': 'Module For Integrating Google Tasks.', |
||||
|
'description': """Google Task Integration for Project Tasks odoo app |
||||
|
helps users to sync project tasks with google task.""", |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': "https://www.cybrosys.com", |
||||
|
'depends': ['project', 'google_calendar', 'mail'], |
||||
|
'data': [ |
||||
|
'security/ir.model.access.csv', |
||||
|
'data/project_credential_data.xml', |
||||
|
'views/project_credential_views.xml', |
||||
|
'views/project_task_views.xml', |
||||
|
'wizard/project_google_task_import_views.xml', |
||||
|
], |
||||
|
'images': [ |
||||
|
'static/description/banner.jpg' |
||||
|
], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import odoo_google_tasks_integration |
@ -0,0 +1,65 @@ |
|||||
|
# -*- 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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import datetime |
||||
|
import requests |
||||
|
from odoo import http, _ |
||||
|
from odoo.exceptions import UserError |
||||
|
|
||||
|
|
||||
|
class GoogleTaskAuth(http.Controller): |
||||
|
"""Controller for Google Task Authentication""" |
||||
|
@http.route('/google_task_authentication', type="http", auth="public", |
||||
|
website=True) |
||||
|
def get_auth_code(self, **kw): |
||||
|
"""Get the authentication code from Google and save access tokens""" |
||||
|
project_cred = http.request.env.ref( |
||||
|
'odoo_google_tasks_integration.project_google_credential_data') |
||||
|
if kw.get('code'): |
||||
|
project_cred.write( |
||||
|
{'hangout_company_authorization_code': kw.get('code')}) |
||||
|
data = { |
||||
|
'code': kw.get('code'), |
||||
|
'client_id':project_cred.hangout_client, |
||||
|
'client_secret': project_cred.hangout_client_secret, |
||||
|
'redirect_uri': project_cred.hangout_redirect_uri, |
||||
|
'grant_type': 'authorization_code' |
||||
|
} |
||||
|
response = requests.post( |
||||
|
'https://accounts.google.com/o/oauth2/token', |
||||
|
data=data, |
||||
|
headers={'content-type': 'application/x-www-form-urlencoded'}) |
||||
|
if response.json() and response.json().get('access_token'): |
||||
|
project_cred.write({ |
||||
|
'hangout_company_access_token': response.json().get( |
||||
|
'access_token'), |
||||
|
'hangout_company_access_token_expiry': |
||||
|
datetime.datetime.now() + datetime.timedelta( |
||||
|
seconds=response.json().get('expires_in')), |
||||
|
'hangout_company_refresh_token': response.json().get( |
||||
|
'access_token'), |
||||
|
}) |
||||
|
return "Authentication Success. You can close this window." |
||||
|
else: |
||||
|
raise UserError( |
||||
|
_('Something went wrong during the token generation.' |
||||
|
'Maybe your Authorization Code is invalid') |
||||
|
) |
@ -0,0 +1,10 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<data noupdate="1"> |
||||
|
<!-- This record defines the Google Hangout credential data --> |
||||
|
<record id="project_google_credential_data" model="project.credential"> |
||||
|
<field name="hangout_client">184758045259-cpj2j5rc7i4oldb21k39kv72tvelpg07.apps.googleusercontent.com</field> |
||||
|
<field name="hangout_client_secret">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4d2Tmi4s_TSzFQ2BsrRBCTrvj-k48rFWWE3</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,6 @@ |
|||||
|
## Module <odoo_google_tasks_integration> |
||||
|
|
||||
|
#### 22.09.2023 |
||||
|
#### Version 16.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial commit for Sync Google Task With Project Task |
@ -0,0 +1,23 @@ |
|||||
|
# -*- 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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import project_credential |
||||
|
from . import project_task |
@ -0,0 +1,112 @@ |
|||||
|
# -*- 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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import requests |
||||
|
from odoo import fields, models, _ |
||||
|
from odoo.exceptions import UserError, ValidationError |
||||
|
from odoo.http import request |
||||
|
|
||||
|
TIMEOUT = 20 |
||||
|
|
||||
|
|
||||
|
class ProjectCredential(models.Model): |
||||
|
"""Model for Project Credentials for sync Google Tasks""" |
||||
|
_name = "project.credential" |
||||
|
_description = "Google Task Credentials" |
||||
|
|
||||
|
hangout_client = fields.Char(string="Client ID", |
||||
|
help='Google Developer Console Client ID') |
||||
|
hangout_client_secret = fields.Char(string="Client Secret", |
||||
|
help='Google Developer Console ' |
||||
|
'Client Secret') |
||||
|
hangout_redirect_uri = fields.Char(string="Authorized redirect URIs", |
||||
|
default=request.httprequest.host_url, |
||||
|
help='Google Authorized redirect URIs') |
||||
|
hangout_company_access_token = fields.Char(string='Access Token', |
||||
|
copy=False, |
||||
|
help='Access token for Google' |
||||
|
' Tasks API') |
||||
|
hangout_company_access_token_expiry = fields.Datetime( |
||||
|
string='Token expiry', |
||||
|
help='Expiry date and time of the access token') |
||||
|
hangout_company_refresh_token = fields.Char(string='Refresh Token', |
||||
|
copy=False, |
||||
|
help='Refresh token for Google' |
||||
|
'Tasks API') |
||||
|
hangout_company_authorization_code = fields.Char( |
||||
|
string="Authorization Code", |
||||
|
help='Authorization code for authentication') |
||||
|
hangout_company_api_key = fields.Char(string="Enter API Key", |
||||
|
help='API key for Google Tasks API') |
||||
|
name = fields.Char(string="Name", default="Credentials", |
||||
|
help='Name of the credentials') |
||||
|
|
||||
|
def action_google_task_company_authenticate(self): |
||||
|
"""Authenticate the company with Google Tasks API""" |
||||
|
if not self.hangout_client: |
||||
|
raise ValidationError("Please Enter Client ID") |
||||
|
client_id = self.hangout_client |
||||
|
if not self.hangout_redirect_uri: |
||||
|
raise ValidationError("Please Enter Client Secret") |
||||
|
redirect_url = self.hangout_redirect_uri |
||||
|
calendar_scope = 'https://www.googleapis.com/auth/calendar' |
||||
|
google_task_scope = 'https://www.googleapis.com/auth/tasks' |
||||
|
url = ( |
||||
|
"https://accounts.google.com/o/oauth2/v2/auth?response_type=code" |
||||
|
"&access_type=offline&client_id={}&redirect_uri={}&scope={}+{}" |
||||
|
).format(client_id, redirect_url, calendar_scope, google_task_scope) |
||||
|
return { |
||||
|
"type": 'ir.actions.act_url', |
||||
|
"url": url, |
||||
|
"target": "new" |
||||
|
} |
||||
|
|
||||
|
def action_google_task_company_refresh_token(self): |
||||
|
"""Refresh the access token for Google Tasks API""" |
||||
|
if not self.hangout_client: |
||||
|
raise UserError(_('Client ID is not yet configured.')) |
||||
|
client_id = self.hangout_client |
||||
|
if not self.hangout_client_secret: |
||||
|
raise UserError(_('Client Secret is not yet configured.')) |
||||
|
client_secret = self.hangout_client_secret |
||||
|
if not self.hangout_company_refresh_token: |
||||
|
raise UserError(_('Refresh Token is not yet configured.')) |
||||
|
refresh_token = self.hangout_company_refresh_token |
||||
|
data = { |
||||
|
'client_id': client_id, |
||||
|
'client_secret': client_secret, |
||||
|
'refresh_token': refresh_token, |
||||
|
'grant_type': 'refresh_token', |
||||
|
} |
||||
|
response = requests.post( |
||||
|
'https://accounts.google.com/o/oauth2/token', |
||||
|
data=data, |
||||
|
headers={'content-type': 'application/x-www-form-urlencoded'}, |
||||
|
timeout=TIMEOUT) |
||||
|
if response.json() and response.json().get('access_token'): |
||||
|
self.write({ |
||||
|
'hangout_company_access_token': response.json().get( |
||||
|
'access_token'), |
||||
|
}) |
||||
|
else: |
||||
|
raise UserError( |
||||
|
_('Something went wrong during the token generation. ' |
||||
|
'Please request again an authorization code.')) |
@ -0,0 +1,131 @@ |
|||||
|
# -*- 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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import requests |
||||
|
from bs4 import BeautifulSoup |
||||
|
from datetime import datetime |
||||
|
from odoo import api, fields, models |
||||
|
|
||||
|
|
||||
|
class ProjectTask(models.Model): |
||||
|
""" Model for Project Task to add in google task """ |
||||
|
_inherit = 'project.task' |
||||
|
|
||||
|
is_add_in_gtask = fields.Boolean(string="Add In Google Task", |
||||
|
help='Whether to add the task in Google' |
||||
|
' Task') |
||||
|
google_task = fields.Char(string="Exported to Google Task", |
||||
|
help='ID of the task exported to Google Task') |
||||
|
is_imported = fields.Boolean(string='Imported From Google Task', |
||||
|
help='Whether the task is imported from ' |
||||
|
'Google Task') |
||||
|
task_id = fields.Many2one('project.task', string='Task', |
||||
|
help='Select a task from the list.') |
||||
|
|
||||
|
@api.model |
||||
|
def create(self, vals): |
||||
|
"""Create method override to sync task with Google Task when created""" |
||||
|
task = super().create(vals) |
||||
|
if task.is_add_in_gtask: |
||||
|
self.action_sync_task_to_google(task) |
||||
|
return task |
||||
|
|
||||
|
def write(self, vals): |
||||
|
"""Write method override to sync task with Google Task when updated""" |
||||
|
res = super(ProjectTask, self).write(vals) |
||||
|
for task in self: |
||||
|
if task.is_add_in_gtask in vals: |
||||
|
self.action_sync_task_to_google(task) |
||||
|
return res |
||||
|
|
||||
|
def action_sync_task_to_google(self): |
||||
|
"""Sync the task to Google Task""" |
||||
|
if not self.description: |
||||
|
self.description ="New Task added to Google Task" |
||||
|
self.is_add_in_gtask = True |
||||
|
company_id = self.env.ref( |
||||
|
'odoo_google_tasks_integration.project_google_credential_data') |
||||
|
url = f"https://tasks.googleapis.com/tasks/v1/lists/@default/tasks?" \ |
||||
|
f"key={company_id.hangout_company_api_key}" |
||||
|
headers = { |
||||
|
"Authorization": f"Bearer " |
||||
|
f"{company_id.hangout_company_access_token}", |
||||
|
'Content-Type': 'application/json', |
||||
|
"Accept": "application/json" |
||||
|
} |
||||
|
# Extract the plain text from the description using BeautifulSoup |
||||
|
soup = BeautifulSoup(self.description, 'html.parser') |
||||
|
note = soup.get_text() |
||||
|
datetime_obj = fields.datetime.combine( |
||||
|
self.date_deadline or fields.Date.today(), datetime.min.time()) |
||||
|
main_task_data = { |
||||
|
'title': self.name, |
||||
|
'due': datetime_obj.strftime("%Y-%m-%dT%H:%M:%SZ"), |
||||
|
'notes': note if self.description else None, |
||||
|
} |
||||
|
# Create or update the main task |
||||
|
if self.google_task: |
||||
|
main_task_url = f"https://tasks.googleapis.com/tasks/v1/lists/" \ |
||||
|
f"@default/tasks/{self.google_task}" |
||||
|
response = requests.patch(main_task_url, headers=headers, |
||||
|
json=main_task_data) |
||||
|
else: |
||||
|
response = requests.post(url, headers=headers, json=main_task_data) |
||||
|
if response.status_code == 200: |
||||
|
main_task_id = response.json().get('id') |
||||
|
if self.google_task != main_task_id: |
||||
|
self.google_task = main_task_id |
||||
|
message = f'(Main task created/updated: {main_task_id})' |
||||
|
self.message_post(body=message) |
||||
|
# Update the corresponding Google task for the current task |
||||
|
google_task = self.env['project.task'].search( |
||||
|
[('task_id', '=', self.id)], limit=1) |
||||
|
if google_task and google_task.google_task != main_task_id: |
||||
|
google_task.google_task = main_task_id |
||||
|
# Process subtasks |
||||
|
for subtask in self.child_ids: |
||||
|
subtask_data = { |
||||
|
'title': subtask.name, |
||||
|
'status': 'needsAction', |
||||
|
} |
||||
|
if subtask.google_task: |
||||
|
subtask_url = f"https://tasks.googleapis.com/tasks/v1/" \ |
||||
|
f"lists/@default/tasks/{subtask.google_task}" |
||||
|
response = requests.patch(subtask_url, headers=headers, |
||||
|
json=subtask_data) |
||||
|
else: |
||||
|
response = requests.post(url, headers=headers, |
||||
|
json=subtask_data) |
||||
|
if response.status_code == 200 : |
||||
|
subtask_id = response.json().get('id') |
||||
|
if subtask.google_task != subtask_id: |
||||
|
subtask.google_task = subtask_id |
||||
|
message = f'(Subtask created/updated: {subtask_id})' |
||||
|
self.message_post(body=message) |
||||
|
# Move the subtask under the main task |
||||
|
move_url = f"https://tasks.googleapis.com/tasks/v1/lists/"\ |
||||
|
f"@default/tasks/{subtask_id}/move" |
||||
|
move_data = { |
||||
|
'parent': main_task_id |
||||
|
} |
||||
|
move_response = requests.post(move_url, headers=headers, |
||||
|
json=move_data) |
||||
|
return move_response |
|
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 94 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 132 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 144 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 90 KiB |
After Width: | Height: | Size: 97 KiB |
After Width: | Height: | Size: 153 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 182 KiB |
After Width: | Height: | Size: 200 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 98 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 89 KiB |
After Width: | Height: | Size: 145 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 306 KiB |
After Width: | Height: | Size: 107 KiB |
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,939 @@ |
|||||
|
<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: #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>Enterprise |
||||
|
</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>Odoo.Sh |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF TITLE BAR --> |
||||
|
|
||||
|
<div class="container" style="padding: 0rem 1.5rem 4rem !important"> |
||||
|
<div class="row" style="height: 900px !important;"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12" |
||||
|
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;"> |
||||
|
<h1 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;"> |
||||
|
Sync Google Task With Project Task</h1> |
||||
|
<p |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;"> |
||||
|
Google Tasks Synchronization With Project and Tasks in Odoo |
||||
|
</p> |
||||
|
<img src="./assets/screenshots/hero.gif" class="img-responsive" |
||||
|
width="100%" height="auto"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row"> |
||||
|
<div class="col-md-12" |
||||
|
style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-compass mr-2"></i>Explore this module |
||||
|
</h2> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#overview" |
||||
|
style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Overview</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
Learn more about this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" |
||||
|
style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#features" |
||||
|
style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Features</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
View features of this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" |
||||
|
style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#screenshots" |
||||
|
style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Screenshots</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
See key screenshots of this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" |
||||
|
style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
<div class="row" id="overview"> |
||||
|
<div class="col-md-12" |
||||
|
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-pie-chart mr-2"></i>Overview |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-mg-12 pl-3"> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;"> |
||||
|
Google Tasks Integration for Project and Tasks odoo app |
||||
|
helps |
||||
|
users to sync project tasks with Google |
||||
|
Tasks. Users have the option to sync tasks with Google or |
||||
|
not |
||||
|
Users can get all task information like name, description, |
||||
|
deadline, If a user updates a task then google Tasks also |
||||
|
get |
||||
|
updated. Import / Export task from Odoo to Google Task and |
||||
|
vice |
||||
|
versa |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row" id="features"> |
||||
|
<div class="col-md-12" |
||||
|
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-star mr-2"></i>Features |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Sync Project Task with Google Tasks</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Auto Update Task with Google Tasks</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Import / Export task from Odoo to Google Task and Vice |
||||
|
Versa</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row" id="screenshots"> |
||||
|
<div class="col-md-12" |
||||
|
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-image mr-2"></i>Screenshots |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-2"> |
||||
|
<h4 class="mt-2" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Google Tasks Client Credential and API Configuration |
||||
|
</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
User have to create a NEW PROJECT from Google Cloud |
||||
|
Platform</p> |
||||
|
<img src="assets/screenshots/a1.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Add a Project name and click on "CREATE" button</p> |
||||
|
<img src="assets/screenshots/a2.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
User have to navigate to "APIs and services" and click on |
||||
|
"Enabled APIs and services". |
||||
|
</p> |
||||
|
<img src="assets/screenshots/a2.2.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Then click on "ENABLE APIS AND SERVICES". |
||||
|
</p> |
||||
|
<img src="assets/screenshots/a3.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Search For Google Tasks API |
||||
|
</h4> |
||||
|
<img src="assets/screenshots/a2.3.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Enable Google Tasks API |
||||
|
</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Search for "Google Tasks API", Open and click "ENABLE" |
||||
|
to |
||||
|
use. |
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/a4.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
CREATE CREDENTIALS |
||||
|
</h4> |
||||
|
<img src="assets/screenshots/a3.3.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Create Credentials for Google Task API</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Select "Google Task API" as API and "User data" as data |
||||
|
accessing and click "NEXT" |
||||
|
</p> |
||||
|
<img src="assets/screenshots/a4.4.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Create App Information. |
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/a5.5.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Skip the Scopes |
||||
|
</p> |
||||
|
<img src="assets/screenshots/a6.5.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Select "Web application" as Application type and enter |
||||
|
Name, |
||||
|
Click "Add URL" under "Authorized redirect |
||||
|
URIs" and enter your URI. |
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/a7.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Authorized redirect URl is "http://localhost:8015".User |
||||
|
need to |
||||
|
change "http://localhost:8015" by |
||||
|
his/her odoo instance. and give <b>/google_task_authentication</b> |
||||
|
at last of the Authorized redirect URl. |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Google Tasks API Credential |
||||
|
|
||||
|
</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
On clicking "CREATE" button user will get "Client ID" and |
||||
|
"Client secret" key for Google Tasks Api. |
||||
|
|
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/a8.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Create API KEY |
||||
|
</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
On clicking "CREATE CREDENTIALS" button , Select API Key. |
||||
|
</p> |
||||
|
<img src="assets/screenshots/a66.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Publish App |
||||
|
</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
On clicking "OAUTH Consent Screen" button , Click PUBLISH |
||||
|
APP |
||||
|
</p> |
||||
|
<img src="assets/screenshots/a77.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-12 my-4"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Task Synchronization |
||||
|
|
||||
|
|
||||
|
</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Under Configuration > Google Task Credential , add Client |
||||
|
ID |
||||
|
, Authorized redirect URIs and Client Secret then Click |
||||
|
"AUTHENTICATE" |
||||
|
button. |
||||
|
|
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/1.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<img src="assets/screenshots/2.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<img src="assets/screenshots/3.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
|
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
After authentication , This message will be shown |
||||
|
</p> |
||||
|
<img src="assets/screenshots/4.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
|
||||
|
<p style="font-family: 'Roboto', sans-serif !important; |
||||
|
font-weight: |
||||
|
400 !important; color: #282F33 !important; font-size: 1rem |
||||
|
!important;"> |
||||
|
Then Select a Task and click the button "EXPORT TO GOOGLE |
||||
|
TASK" |
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/6.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Also add subtask , If you need |
||||
|
</p> |
||||
|
<img src="assets/screenshots/7.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
On successful exportation user can see all details are |
||||
|
updated |
||||
|
in chatter.</p> |
||||
|
<img src="assets/screenshots/8.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Then Check Google Tasks.</p> |
||||
|
<img src="assets/screenshots/9.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Then goto Project Module > Google Tasks > Tasks , we can |
||||
|
see the |
||||
|
details of imported and exported Task </p> |
||||
|
<img src="assets/screenshots/10.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Next create a task from Google Task .</p> |
||||
|
<img src="assets/screenshots/11.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Then goto Project Module > Google Tasks > Import / Export |
||||
|
Google |
||||
|
Tasks </p> |
||||
|
<img src="assets/screenshots/12.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
A wizard will shown , click the IMPORT TASKS Button .</p> |
||||
|
<img src="assets/screenshots/13.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Then goto Google Tasks > Tasks , we can see the details of |
||||
|
imported and exported Task .</p> |
||||
|
<img src="assets/screenshots/14.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Then goto Project Module > Google Tasks > Import / Export |
||||
|
Google |
||||
|
Task and click EXPORT TASK Button.</p> |
||||
|
<img src="assets/screenshots/15.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Then goto Google Tasks > Tasks , we can see the details of |
||||
|
imported and exported Task .</p> |
||||
|
<img src="assets/screenshots/16.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Then Check Google Tasks.</p> |
||||
|
<img src="assets/screenshots/17.png" |
||||
|
class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto"/> |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
<!-- 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/hr_zk_attendance/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/11.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/odoo_google_meet_integration/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/12.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_linkedin_recruitment/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/13.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/multi_sms_gateway/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/14.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/dropbox_integration/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/15.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/odoo_chatgpt_connector/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/16.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 & 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 --> |
||||
|
</div> |
||||
|
</div> |
@ -0,0 +1,50 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<!-- This XML code defines the view, action, and menu item for Google Task credentials in an Odoo module. --> |
||||
|
<record id="project_credential_view_form" model="ir.ui.view"> |
||||
|
<!--This view represents a form for managing Google Task credentials.--> |
||||
|
<field name="name">project.credential.view.form</field> |
||||
|
<field name="model">project.credential</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Google Task"> |
||||
|
<sheet> |
||||
|
<group> |
||||
|
<field name="name" invisible="1"/> |
||||
|
<field name="hangout_client"/> |
||||
|
<field name="hangout_client_secret"/> |
||||
|
<field name="hangout_redirect_uri"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<button string="Authenticate" type="object" |
||||
|
name="action_google_task_company_authenticate" |
||||
|
class="oe_highlight"/> |
||||
|
<button string="Refresh Token" type="object" |
||||
|
name="action_google_task_company_refresh_token" |
||||
|
class="oe_highlight"/> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page string="Credentials" name="credential"> |
||||
|
<group> |
||||
|
<field name="hangout_company_access_token"/> |
||||
|
<field name="hangout_company_access_token_expiry"/> |
||||
|
<field name="hangout_company_refresh_token"/> |
||||
|
<field name="hangout_company_authorization_code"/> |
||||
|
<field name="hangout_company_api_key"/> |
||||
|
</group> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="project_credential_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Google Tasks Authentication</field> |
||||
|
<field name="res_model">project.credential</field> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="res_id" ref="project_google_credential_data"/> |
||||
|
</record> |
||||
|
<!--- This menu item is a part of the project menu and allows access to the Google Task Credential functionality.--> |
||||
|
<menuitem id="project_credential_menu" name="Google Task Credential" |
||||
|
parent="project.menu_project_config" |
||||
|
sequence="100" action="project_credential_action"/> |
||||
|
</odoo> |
@ -0,0 +1,78 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Define the view for extending the project.task form view --> |
||||
|
<record id="view_task_form2" model="ir.ui.view"> |
||||
|
<field name="name"> |
||||
|
project.task.form.view.inherit.odoo.google.tasks.integration |
||||
|
</field> |
||||
|
<field name="model">project.task</field> |
||||
|
<field name="inherit_id" ref="project.view_task_form2"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<header> |
||||
|
<!-- Button to export task to Google Task --> |
||||
|
<button name="action_sync_task_to_google" |
||||
|
string="Export to Google Task" |
||||
|
type="object" class="oe_highlight"/> |
||||
|
</header> |
||||
|
<field name="partner_id" position="before"> |
||||
|
<field name="is_add_in_gtask" invisible="1"/> |
||||
|
<field name="google_task" invisible="1"/> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Define the view for extending the project.task tree view --> |
||||
|
<record id="view_task_tree2" model="ir.ui.view"> |
||||
|
<field name="name"> |
||||
|
project.task.view.tree.inherit.odoo.google.tasks.integration |
||||
|
</field> |
||||
|
<field name="model">project.task</field> |
||||
|
<field name="inherit_id" ref="project.view_task_tree2"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//tree" position="inside"> |
||||
|
<header> |
||||
|
<button class="btn-primary" name="action_sync_task_to_google" |
||||
|
type="object" |
||||
|
string="Export All"/> |
||||
|
</header> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Define the view for displaying synced and imported tasks --> |
||||
|
<record id="project_task_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">project.task.view.tree</field> |
||||
|
<field name="model">project.task</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree> |
||||
|
<field name="name"/> |
||||
|
<field name="date_deadline"/> |
||||
|
<field name="is_add_in_gtask"/> |
||||
|
<field name="is_imported"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Define the action for showing synced and imported tasks --> |
||||
|
<record id="project_task_action" |
||||
|
model="ir.actions.act_window"> |
||||
|
<field name="name">Synced and Imported Tasks</field> |
||||
|
<field name="res_model">project.task</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
<field name="domain">['|',('is_add_in_gtask', '=', True), ('is_imported', |
||||
|
'=', True)] |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Define the action window view for synced and imported tasks --> |
||||
|
<record model="ir.actions.act_window.view" |
||||
|
id="action_project_task"> |
||||
|
<field name="sequence" eval="1"/> |
||||
|
<field name="view_mode">tree</field> |
||||
|
<field name="view_id" ref="project_task_view_tree"/> |
||||
|
<field name="act_window_id" ref="project_task_action"/> |
||||
|
</record> |
||||
|
<!-- Define the main Google Tasks menu item --> |
||||
|
<menuitem id="project_task_menu" name="Google Tasks" |
||||
|
parent="project.menu_main_pm" sequence="20"/> |
||||
|
<!-- Define the sub-menu item for synced and imported tasks --> |
||||
|
<menuitem id="project_task_menu_do_stuff" name="Tasks" |
||||
|
parent="project_task_menu" sequence="1" |
||||
|
action="project_task_action"/> |
||||
|
</odoo> |
@ -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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import project_google_task_import |
@ -0,0 +1,87 @@ |
|||||
|
# -*- 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 AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import requests |
||||
|
from odoo import fields, models, _ |
||||
|
|
||||
|
|
||||
|
class ProjectGoogleTaskImportWizard(models.Model): |
||||
|
"""Model for the Google Task Import Wizard""" |
||||
|
_name = 'project.google.task.import' |
||||
|
_description = 'Google Task Import' |
||||
|
|
||||
|
task_ids = fields.Many2many('project.task', |
||||
|
string='Select Tasks For Export to Google Task' |
||||
|
, help='Tasks to be exported to Google Task') |
||||
|
|
||||
|
def action_import_tasks(self): |
||||
|
"""Import tasks from Google Task.""" |
||||
|
company_id = self.env.ref( |
||||
|
'odoo_google_tasks_integration.project_google_credential_data') |
||||
|
url = f"https://tasks.googleapis.com/tasks/v1/lists/@default/" \ |
||||
|
f"tasks?key={company_id.hangout_company_api_key}" |
||||
|
headers = { |
||||
|
"Authorization": f"Bearer {company_id.hangout_company_access_token}", |
||||
|
"Content-Type": "application/json", |
||||
|
"Accept": "application/json" |
||||
|
} |
||||
|
response = requests.get(url, headers=headers) |
||||
|
if response.status_code == 200: |
||||
|
tasks = response.json().get('items', []) |
||||
|
for task_data in tasks: |
||||
|
task_id = self.env['project.task'].search( |
||||
|
[('google_task', '=', task_data['id'])]) |
||||
|
if not task_id: |
||||
|
task_id = self.env['project.task'].create({ |
||||
|
'name': task_data['title'], |
||||
|
'date_deadline': task_data['due'], |
||||
|
'google_task': task_data['id'], |
||||
|
'is_imported': True, |
||||
|
}) |
||||
|
notification = { |
||||
|
'type': 'ir.actions.client', |
||||
|
'tag': 'display_notification', |
||||
|
'params': { |
||||
|
'title': _('Successful'), |
||||
|
'type': 'success', |
||||
|
'message': 'Imported successfully!', |
||||
|
'sticky': True, |
||||
|
} |
||||
|
} |
||||
|
return notification, task_id |
||||
|
action = self.env.ref( |
||||
|
'google_tasks_integration.action_project_task').read()[0] |
||||
|
return action |
||||
|
|
||||
|
def action_export_task(self): |
||||
|
"""Export tasks to Google Task.""" |
||||
|
for task in self.task_ids: |
||||
|
task.action_sync_task_to_google() |
||||
|
return { |
||||
|
'type': 'ir.actions.client', |
||||
|
'tag': 'display_notification', |
||||
|
'params': { |
||||
|
'title': _('Successful'), |
||||
|
'type': 'success', |
||||
|
'message': 'Exported successfully!', |
||||
|
'sticky': True, |
||||
|
} |
||||
|
} |
@ -0,0 +1,51 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<!-- This view defines the form layout for the Google Task import wizard --> |
||||
|
<record id="project_google_task_import_view_form" model="ir.ui.view"> |
||||
|
<field name="name">project.google.task.import.view.form</field> |
||||
|
<field name="model">project.google.task.import</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form> |
||||
|
<div> |
||||
|
<p>From below select multiple Task to Export .</p> |
||||
|
</div> |
||||
|
<group> |
||||
|
<field name="task_ids" widget="many2many_tags"/> |
||||
|
</group> |
||||
|
<footer> |
||||
|
<button name="action_import_tasks" string="Import Tasks" |
||||
|
type="object" class="btn-primary"/> |
||||
|
<button string="Export Task" type="object" |
||||
|
name="action_export_task" class="btn-primary"/> |
||||
|
<button string="Cancel" special="cancel" |
||||
|
class="btn-secondary"/> |
||||
|
</footer> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- This action defines the behavior of the Google Task import/export window --> |
||||
|
<record id="project_google_task_import_action" |
||||
|
model="ir.actions.act_window"> |
||||
|
<field name="name">Google Task Import/Export</field> |
||||
|
<field name="res_model">project.google.task.import</field> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="view_id" |
||||
|
ref="project_google_task_import_view_form"/> |
||||
|
<field name="target">new</field> |
||||
|
</record> |
||||
|
<!-- This action defines the behavior of the Export Selected Tasks window --> |
||||
|
<record id="project_task_export_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Export Selected Tasks</field> |
||||
|
<field name="res_model">project.task</field> |
||||
|
<field name="view_mode">tree</field> |
||||
|
<field name="view_id" ref="project.view_task_tree2"/> |
||||
|
<field name="target">current</field> |
||||
|
<field name="context">{'search_default_my_tasks': 1} |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- This menu item adds the Import/Export Google Tasks option to the menu --> |
||||
|
<menuitem id="project_google_task_import_menu" name="Import/Export Google Tasks" |
||||
|
parent="project_task_menu" |
||||
|
sequence="2" |
||||
|
action="project_google_task_import_action"/> |
||||
|
</odoo> |