@ -0,0 +1,31 @@ |
|||||
|
==================================== |
||||
|
Basic HR-LinkedIn Connector v16 |
||||
|
==================================== |
||||
|
|
||||
|
The module integrates LinkedIn with Odoo HR Recruitment. |
||||
|
* Share Job Opening Posts With LinkedIn. |
||||
|
* Automate Odoo HRMS with LinkedIn. |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Technologies <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Developers |
||||
|
---------- |
||||
|
* `Nilmar Shereef <odoo@cybrosys.com>`__ |
||||
|
* `Jesni Banu |
||||
|
* `v11 & v12 Milind Mohan |
||||
|
* v16 Gayathri V |
||||
|
|
||||
|
Contact |
||||
|
------- |
||||
|
* Mail Contact : odoo@cybrosys.com |
||||
|
|
||||
|
Related Blog |
||||
|
------- |
||||
|
* `Cybrosys LinkedIn Blog <https://www.cybrosys.com/blog/odoo-linkedin-integration-in-hr/>`__ |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
||||
|
Technical instructions: `<doc/requirement.txt>`__ |
@ -0,0 +1,25 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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 |
||||
|
from . import controller |
||||
|
|
@ -0,0 +1,51 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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': 'Advanced HR-LinkedIn Integration', |
||||
|
'summary': "Basic module for LnkedIn-HR Recruitment connector", |
||||
|
'description': "Basic module for LnkedIn-HR Recruitment connector", |
||||
|
'category': 'Generic Modules/Human Resources', |
||||
|
'version': "16.0.1.0.0", |
||||
|
'depends': ['hr_recruitment', 'auth_oauth'], |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': "https://www.cybrosys.com", |
||||
|
'data': [ |
||||
|
'data/auth_linkedin_data.xml', |
||||
|
'security/ir.model.access.csv', |
||||
|
'views/recruitment_config_settings.xml', |
||||
|
'views/hr_job_linkedin.xml', |
||||
|
'views/likes_commends.xml', |
||||
|
'views/linkedin_comments.xml', |
||||
|
'views/oauth_view.xml', |
||||
|
], |
||||
|
'external_dependencies': |
||||
|
{ |
||||
|
'python': ['mechanize', 'linkedin'], |
||||
|
}, |
||||
|
'images': ['static/description/banner.png'], |
||||
|
'license': 'LGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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 main |
@ -0,0 +1,172 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
import logging |
||||
|
from werkzeug import urls |
||||
|
|
||||
|
_logger = logging.getLogger(__name__) |
||||
|
try: |
||||
|
import mechanize |
||||
|
from linkedin_v2 import linkedin |
||||
|
from urllib.request import HTTPRedirectHandler as MechanizeRedirectHandler |
||||
|
|
||||
|
except ImportError: |
||||
|
_logger.error('Odoo module hr_linkedin_recruitment depends on the several external python package' |
||||
|
'Please read the doc/requirement.txt file inside the module.') |
||||
|
|
||||
|
|
||||
|
import json |
||||
|
from odoo.exceptions import ValidationError, Warning |
||||
|
import requests |
||||
|
from odoo import http, _ |
||||
|
from odoo.http import request |
||||
|
from urllib.parse import urlparse |
||||
|
from urllib.parse import parse_qs |
||||
|
|
||||
|
|
||||
|
class LinkedinSocial(http.Controller): |
||||
|
|
||||
|
@http.route('/linkedin/redirect', type='http', website=True, auth='public') |
||||
|
def social_linkedin_callbacks(self, httpReq=None): |
||||
|
"""shares post on linkedin""" |
||||
|
|
||||
|
url = request.httprequest.url |
||||
|
parsed_url = urlparse(url) |
||||
|
code = parse_qs(parsed_url.query)['code'][0] |
||||
|
state = parse_qs(parsed_url.query)['state'][0] |
||||
|
|
||||
|
linkedin_auth_provider = request.env.ref('hr_linkedin_recruitment.provider_linkedin') |
||||
|
linked_in_url = request.env['hr.job'].browse(int(state)) |
||||
|
|
||||
|
recruitment = request.env['hr.job'] |
||||
|
|
||||
|
access_token = requests.post( |
||||
|
'https://www.linkedin.com/oauth/v2/accessToken', |
||||
|
params={ |
||||
|
'grant_type': 'authorization_code', |
||||
|
# This is code obtained on previous step by Python script. |
||||
|
'code': code, |
||||
|
# This should be same as 'redirect_uri' field value of previous Python script. |
||||
|
'redirect_uri': linked_in_url._get_linkedin_post_redirect_uri(), |
||||
|
# Client ID of your created application |
||||
|
'client_id': linkedin_auth_provider.client_id, |
||||
|
# # Client Secret of your created application |
||||
|
'client_secret': linkedin_auth_provider.client_secret, |
||||
|
}, |
||||
|
).json()['access_token'] |
||||
|
li_credential = {} |
||||
|
linkedin_auth_provider = request.env.ref('hr_linkedin_recruitment.provider_linkedin') |
||||
|
if linkedin_auth_provider.client_id and linkedin_auth_provider.client_secret: |
||||
|
li_credential['api_key'] = linkedin_auth_provider.client_id |
||||
|
li_credential['secret_key'] = linkedin_auth_provider.client_secret |
||||
|
else: |
||||
|
raise ValidationError(_('LinkedIn Access Credentials are empty.!\n' |
||||
|
'Please fill up in Auth Provider form.')) |
||||
|
|
||||
|
if request.env['ir.config_parameter'].sudo().get_param('recruitment.li_username'): |
||||
|
li_credential['un'] = request.env['ir.config_parameter'].sudo().get_param('recruitment.li_username') |
||||
|
else: |
||||
|
raise ValidationError(_('Please fill up username in LinkedIn Credential settings.')) |
||||
|
|
||||
|
if request.env['ir.config_parameter'].sudo().get_param('recruitment.li_password'): |
||||
|
li_credential['pw'] = request.env['ir.config_parameter'].sudo().get_param('recruitment.li_password') |
||||
|
else: |
||||
|
raise ValidationError(_('Please fill up password in LinkedIn Credential settings.')) |
||||
|
|
||||
|
url = 'https://api.linkedin.com/v2/ugcPosts' |
||||
|
|
||||
|
li_suit_credent = {} |
||||
|
li_suit_credent['access_token'] = access_token |
||||
|
member_url = 'https://api.linkedin.com/v2/me' |
||||
|
response = recruitment.get_urn('GET', member_url, li_suit_credent['access_token']) |
||||
|
urn_response_text = response.json() |
||||
|
li_credential['profile_urn'] = urn_response_text['id'] |
||||
|
li_suit_credent['li_credential'] = li_credential |
||||
|
payload = json.dumps({ |
||||
|
"author": "urn:li:person:" + li_credential['profile_urn'], |
||||
|
"lifecycleState": "PUBLISHED", |
||||
|
"specificContent": { |
||||
|
"com.linkedin.ugc.ShareContent": { |
||||
|
"shareCommentary": { |
||||
|
"text": linked_in_url.description |
||||
|
}, |
||||
|
"shareMediaCategory": "NONE" |
||||
|
} |
||||
|
}, |
||||
|
"visibility": { |
||||
|
"com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC" |
||||
|
} |
||||
|
}) |
||||
|
headers = { |
||||
|
'Authorization': 'Bearer ' + access_token, |
||||
|
'Content-Type': 'application/json', |
||||
|
} |
||||
|
|
||||
|
if linked_in_url.description: |
||||
|
|
||||
|
response = requests.request("POST", url, headers=headers, data=payload) |
||||
|
share_response_text = response.json() |
||||
|
linked_in_url.write({ |
||||
|
'access_token': access_token + '+' + share_response_text['id'] |
||||
|
}) |
||||
|
|
||||
|
share_response_code = response.status_code |
||||
|
|
||||
|
if share_response_code == 201: |
||||
|
linked_in_url.update_key = True |
||||
|
elif share_response_code == 404: |
||||
|
raise Warning("Resource does not exist.!") |
||||
|
elif share_response_code == 409: |
||||
|
raise Warning("Already shared!") |
||||
|
else: |
||||
|
raise Warning("Error!! Check your connection...") |
||||
|
else: |
||||
|
raise Warning("Provide a Job description....") |
||||
|
|
||||
|
return_uri = 'https://www.linkedin.com/oauth/v2/authorization' |
||||
|
li_permissions = ['r_liteprofile', 'r_member_social', 'r_organization_social', ' r_ads ', |
||||
|
'r_compliance', 'r_emailaddress', 'w_member_social'] |
||||
|
|
||||
|
auth = linkedin.LinkedInAuthentication(li_credential['api_key'], |
||||
|
li_credential['secret_key'], |
||||
|
return_uri, |
||||
|
li_permissions) |
||||
|
|
||||
|
li_suit_credent = {} |
||||
|
li_suit_credent['access_token'] = access_token |
||||
|
page_share_url = 'https://api.linkedin.com/v2/ugcPosts' |
||||
|
|
||||
|
response = recruitment.get_urn('GET', page_share_url, li_suit_credent['access_token']) |
||||
|
urn_response_text = response.json() |
||||
|
li_credential['profile_urn'] = share_response_text['id'] |
||||
|
|
||||
|
li_suit_credent['li_credential'] = li_credential |
||||
|
|
||||
|
url = urls.url_join( |
||||
|
http.request.env['ir.config_parameter'].sudo().get_param( |
||||
|
'web.base.url'), |
||||
|
'web#id=%(id)s&model=hr.job&action=%(action)s&view_type=form' % { |
||||
|
'id': state, |
||||
|
'action': request.env.ref( |
||||
|
'hr_recruitment.action_hr_job').id |
||||
|
}) |
||||
|
return request.redirect(url) |
@ -0,0 +1,14 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data noupdate="1"> |
||||
|
<record id="provider_linkedin" model="auth.oauth.provider"> |
||||
|
<field name="name">LinkedIn</field> |
||||
|
<field name="auth_endpoint">https://www.linkedin.com/oauth/v2/authorization</field> |
||||
|
<field name="scope">r_basicprofile r_emailaddress w_share w_member_social</field> |
||||
|
<field name="validation_endpoint">https://api.linkedin.com/v2/me</field> |
||||
|
<field name="data_endpoint">https://api.linkedin.com/v2/me</field> |
||||
|
<field name="css_class">fa fa-linkedin-square</field> |
||||
|
<field name="body">Share post with LinkedIn</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,6 @@ |
|||||
|
## Module <hr_linkedin_recruitment> |
||||
|
|
||||
|
#### 25.01.2023 |
||||
|
#### Version 16.0.1.0.0 |
||||
|
##### ADD |
||||
|
- Initial Commit (linkedin api v2) |
@ -0,0 +1,8 @@ |
|||||
|
Odoo integration module "hr_linkedin_recruitment" depends on the several external python package. |
||||
|
Please ensure that listed packaged has installed in your system: |
||||
|
|
||||
|
* python-linkedin (sudo python-linkedin) |
||||
|
* mechanize (sudo pip install mechanize) |
||||
|
|
||||
|
|
||||
|
|
@ -0,0 +1,26 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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 recruitment_config |
||||
|
from . import hr_job |
||||
|
from . import auth_outh |
||||
|
from . import linkedin_comments |
@ -0,0 +1,31 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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 models, fields |
||||
|
|
||||
|
|
||||
|
class OAuthProviderLinkedin(models.Model): |
||||
|
""" Adding client_secret field because some apps likes twitter, |
||||
|
linkedIn are using this value for its API operations """ |
||||
|
_inherit = 'auth.oauth.provider' |
||||
|
|
||||
|
client_secret = fields.Char(string='Client Secret', help="Only need LinkedIn, Twitter etc..") |
@ -0,0 +1,155 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
import logging |
||||
|
import requests |
||||
|
from werkzeug.urls import url_encode |
||||
|
from werkzeug.urls import url_join |
||||
|
|
||||
|
from odoo import models, fields, _ |
||||
|
from odoo.exceptions import ValidationError |
||||
|
|
||||
|
_logger = logging.getLogger(__name__) |
||||
|
|
||||
|
class HrJobShare(models.Model): |
||||
|
"""recruitment of different job positions""" |
||||
|
_inherit = 'hr.job' |
||||
|
|
||||
|
update_key = fields.Char(string='Update Key', readonly=True) |
||||
|
access_token = fields.Char(string='Access Token',help='Access token for your linkedin app') |
||||
|
comments = fields.Boolean(default=False,string='Likes Comments',help='Which is used to visible the like comment retrieving button') |
||||
|
like_comment = fields.Boolean(default=False,string='Likes comment',help='Which is used to visible the smart buttons of likes and comments') |
||||
|
post_likes = fields.Integer(string='Likes Count', help="Total Number of likes in the shared post") |
||||
|
post_commands = fields.Integer(string='Comments Count', help="Total Number of Comments in the shared post") |
||||
|
|
||||
|
def _get_linkedin_post_redirect_uri(self): |
||||
|
"""finding redirecting url""" |
||||
|
return url_join(self.get_base_url(), '/linkedin/redirect') |
||||
|
|
||||
|
def share_linkedin(self): |
||||
|
""" Button function for sharing post """ |
||||
|
self.comments = True |
||||
|
linkedin_auth_provider = self.env.ref('hr_linkedin_recruitment.provider_linkedin') |
||||
|
if linkedin_auth_provider.client_id and linkedin_auth_provider.client_secret: |
||||
|
|
||||
|
linkedin_client_id = linkedin_auth_provider.client_id |
||||
|
params = { |
||||
|
'response_type': 'code', |
||||
|
'client_id': linkedin_client_id, |
||||
|
'redirect_uri': self._get_linkedin_post_redirect_uri(), |
||||
|
'state': self.id, |
||||
|
'scope': 'r_liteprofile r_emailaddress w_member_social r_1st_connections_size r_ads r_ads_reporting ' |
||||
|
'r_basicprofile r_organization_admin r_organization_social rw_ads rw_organization_admin ' |
||||
|
'w_member_social w_organization_social', |
||||
|
} |
||||
|
else: |
||||
|
raise ValidationError(_('LinkedIn Access Credentials are empty.!\n' |
||||
|
'Please fill up in Auth Provider form.')) |
||||
|
|
||||
|
return { |
||||
|
'type': 'ir.actions.act_url', |
||||
|
'url': 'https://www.linkedin.com/oauth/v2/authorization?%s' % url_encode(params), |
||||
|
'target': 'self' |
||||
|
} |
||||
|
|
||||
|
def share_request(self, method, page_share_url, access_token, data): |
||||
|
""" Function will return UPDATED KEY , [201] if sharing is OK """ |
||||
|
headers = {'x-li-format': 'json', 'Content-Type': 'application/json'} |
||||
|
params = {} |
||||
|
params.update({'oauth2_access_token': access_token}) |
||||
|
kw = dict(data=data, params=params, headers=headers, timeout=60) |
||||
|
req_response = requests.request(method.upper(), page_share_url, **kw) |
||||
|
return req_response |
||||
|
|
||||
|
def get_urn(self, method, has_access_url, access_token): |
||||
|
""" Function will return TRUE if credentials user has the access to update """ |
||||
|
headers = {'x-li-format': 'json', 'Content-Type': 'application/json'} |
||||
|
params = {} |
||||
|
params.update({'oauth2_access_token': access_token}) |
||||
|
kw = dict(params=params, headers=headers, timeout=60) |
||||
|
req_response = requests.request(method.upper(), has_access_url, **kw) |
||||
|
return req_response |
||||
|
|
||||
|
def user_response_like(self): |
||||
|
"""return the likes""" |
||||
|
return |
||||
|
|
||||
|
def likes_comments(self): |
||||
|
"""retrieving total count of likes and comments""" |
||||
|
self.like_comment = True |
||||
|
urn = self.access_token.split('+')[1] |
||||
|
url = "https://api.linkedin.com/rest/socialActions/" + urn |
||||
|
payload = {} |
||||
|
headers = { |
||||
|
'LinkedIn-Version': '202208', |
||||
|
'Authorization': 'Bearer ' + self.access_token.split('+')[0], |
||||
|
} |
||||
|
response = requests.request("GET", url, headers=headers, data=payload) |
||||
|
response_comm_like = response.json() |
||||
|
|
||||
|
self.post_likes = response_comm_like['likesSummary']['totalLikes'] |
||||
|
self.post_commands = response_comm_like["commentsSummary"]['aggregatedTotalComments'] |
||||
|
comment_url = "https://api.linkedin.com/v2/socialActions/" + urn + "/comments" |
||||
|
|
||||
|
headers = { |
||||
|
'LinkedIn-Version': '202208', |
||||
|
'Authorization': 'Bearer ' + self.access_token.split('+')[0], |
||||
|
|
||||
|
} |
||||
|
|
||||
|
response = requests.request("GET", comment_url, headers=headers, data=payload) |
||||
|
response_commets = response.json() |
||||
|
if response_commets["elements"]: |
||||
|
self.env['linkedin.comments'].create({ |
||||
|
'linkedin_comments': response_commets["elements"][0]['message']['text'], |
||||
|
}) |
||||
|
else: |
||||
|
pass |
||||
|
|
||||
|
def user_response_commends(self): |
||||
|
"""return the comments of the shared post""" |
||||
|
return { |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'target': 'current', |
||||
|
'name': _('Linkedin'), |
||||
|
'view_mode': 'tree', |
||||
|
'res_model': 'linkedin.comments', |
||||
|
|
||||
|
} |
||||
|
|
||||
|
def view_shared_post(self): |
||||
|
"""Direct link for viewing the shared post page in linkedin""" |
||||
|
url = "https://api.linkedin.com/v2/me" |
||||
|
payload = "" |
||||
|
headers = { |
||||
|
'LinkedIn-Version': '202208', |
||||
|
'Authorization': 'Bearer ' + self.access_token.split('+')[0], |
||||
|
} |
||||
|
response = requests.request("GET", url, headers=headers, data=payload) |
||||
|
response_activity = response.json() |
||||
|
activity_urn = response_activity["vanityName"] |
||||
|
|
||||
|
return { |
||||
|
'type': 'ir.actions.act_url', |
||||
|
'url': 'https://www.linkedin.com/in/%s' % activity_urn + '/recent-activity/', |
||||
|
'target': 'self' |
||||
|
} |
@ -0,0 +1,30 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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 LinkedinComments(models.Model): |
||||
|
"""class for retrieving comments of shared post""" |
||||
|
_name = 'linkedin.comments' |
||||
|
|
||||
|
linkedin_comments = fields.Char(string="Comments") |
@ -0,0 +1,73 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
import logging |
||||
|
import urllib |
||||
|
_logger = logging.getLogger(__name__) |
||||
|
try: |
||||
|
import mechanize |
||||
|
from mechanize import _response |
||||
|
from mechanize import _rfc3986 |
||||
|
import re |
||||
|
|
||||
|
|
||||
|
class MechanizeRedirectHandler(mechanize.HTTPRedirectHandler): |
||||
|
def http_error_302(self, req, fp, code, msg, headers): |
||||
|
if 'location' in headers: |
||||
|
newurl = headers.getheaders('location')[0] |
||||
|
elif 'uri' in headers: |
||||
|
newurl = headers.getheaders('uri')[0] |
||||
|
else: |
||||
|
return |
||||
|
newurl = _rfc3986.clean_url(newurl, "latin-1") |
||||
|
newurl = _rfc3986.urljoin(req.get_full_url(), newurl) |
||||
|
|
||||
|
new = self.redirect_request(req, fp, code, msg, headers, newurl) |
||||
|
if new is None: |
||||
|
return |
||||
|
|
||||
|
if hasattr(req, 'redirect_dict'): |
||||
|
visited = new.redirect_dict = req.redirect_dict |
||||
|
if (visited.get(newurl, 0) >= self.max_repeats or |
||||
|
len(visited) >= self.max_redirections): |
||||
|
raise urllib.error.HTTPError(req.get_full_url(), code, |
||||
|
self.inf_msg + msg, headers, fp) |
||||
|
else: |
||||
|
visited = new.redirect_dict = req.redirect_dict = {} |
||||
|
visited[newurl] = visited.get(newurl, 0) + 1 |
||||
|
|
||||
|
fp.read() |
||||
|
fp.close() |
||||
|
|
||||
|
# If the redirected URL doesn't match |
||||
|
new_url = new.get_full_url() |
||||
|
if not re.search('^http(?:s)?\:\/\/.*www\.linkedin\.com', new_url): |
||||
|
return _response.make_response('', headers.items(), new_url, 200, 'OK') |
||||
|
else: |
||||
|
return self.parent.open(new) |
||||
|
|
||||
|
http_error_301 = http_error_303 = http_error_307 = http_error_302 |
||||
|
http_error_refresh = http_error_302 |
||||
|
|
||||
|
except ImportError: |
||||
|
_logger.warning('Odoo module hr_linkedin_recruitment depends on the several external python package' |
||||
|
'Please read the doc/requirement.txt file inside the module.') |
@ -0,0 +1,46 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Cybrosys Techno Solutions(<https://www.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 models, fields |
||||
|
|
||||
|
|
||||
|
class ResConfigSettings(models.TransientModel): |
||||
|
"""config settings""" |
||||
|
_inherit = 'res.config.settings' |
||||
|
|
||||
|
li_username = fields.Char(string="User Name", help="Your Linkedin Username") |
||||
|
li_password = fields.Char(string="Password", help="Your Linkedin Password") |
||||
|
|
||||
|
def set_values(self): |
||||
|
"""super the config to set the value""" |
||||
|
super(ResConfigSettings, self).set_values() |
||||
|
self.env['ir.config_parameter'].sudo().set_param('recruitment.li_username', self.li_username) |
||||
|
self.env['ir.config_parameter'].sudo().set_param('recruitment.li_password', self.li_password) |
||||
|
|
||||
|
def get_values(self): |
||||
|
"""super the config to get the value""" |
||||
|
res = super(ResConfigSettings, self).get_values() |
||||
|
res.update( |
||||
|
li_username=self.env['ir.config_parameter'].sudo().get_param('recruitment.li_username'), |
||||
|
li_password=self.env['ir.config_parameter'].sudo().get_param('recruitment.li_password'), |
||||
|
) |
||||
|
return res |
|
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: 60 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 395 KiB |
After Width: | Height: | Size: 125 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 107 KiB |
After Width: | Height: | Size: 67 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 168 KiB |
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,668 @@ |
|||||
|
<div class="container" style="padding: 1rem !important; margin-bottom: 1rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between" style="border-bottom: 1px solid #d5d5d5;"> |
||||
|
<div class="my-3"> |
||||
|
<img src="./assets/icons/logo.png" style="width: auto !important; height: 40px !important;"> |
||||
|
</div> |
||||
|
<div class="my-3 d-flex align-items-center"> |
||||
|
<div |
||||
|
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
<div |
||||
|
style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Enterprise |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<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;"> |
||||
|
Advanced HR-LinkedIn Integration</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;"> |
||||
|
Share your recruitemnt posts directly to LinkedIn via authorized login. |
||||
|
</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;"> |
||||
|
This integration module makes your HR recruitment better. You can share your posts directly to |
||||
|
LinkedIn via authorized login.</p> |
||||
|
</div> |
||||
|
</p> |
||||
|
|
||||
|
</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;"> |
||||
|
Configure the layout</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;"> |
||||
|
Share Recruitment Post to LinkedIn from Odoo.</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;"> |
||||
|
Retrive Count of likes and Comments</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;"> |
||||
|
Retrive The Comments and direct view of Shred Post</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;"> |
||||
|
Enlarge Your Audience Range.</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;"> |
||||
|
Setup a LinkedIn App</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Setup a LinkedIn App with proper information.</p> |
||||
|
<img src="assets/screenshots/image1.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;"> |
||||
|
LinkedIn Products For the Permissions</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/image2.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;"> |
||||
|
Fill-up App Credentials</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
|
||||
|
Activate developer mode & fill-up API keys.</p> |
||||
|
<img src="assets/screenshots/image3.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
<img src="assets/screenshots/image4.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;"> |
||||
|
Configuration of LinkedIn Account Details</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
|
||||
|
Username, Password.</p> |
||||
|
<img src="assets/screenshots/image5.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;"> |
||||
|
Share Job Requirement with LinkedIn</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
|
||||
|
Share Job Requirement with LinkedIn by using 'Share on linked' button.</p> |
||||
|
<img src="assets/screenshots/image6.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;"> |
||||
|
Shared Post in LinkedIn</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
|
||||
|
Takes right candidates from right place.</p> |
||||
|
<img src="assets/screenshots/image7.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;"> |
||||
|
Retrieve Count of Likes And Comments on the button Click</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/image8.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;"> |
||||
|
Counts of Likes And Comments and also a button for view the shared post</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/image9.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;"> |
||||
|
Retrieved Comments Of Shared post</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
|
||||
|
</p> |
||||
|
<img src="assets/screenshots/image10.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
<!-- SUGGESTED PRODUCTS --> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center" |
||||
|
style="text-align: center; padding: 2.5rem 1rem !important;"> |
||||
|
<h2 style="color: #212529 !important;">Suggested Products</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
|
||||
|
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active" style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/export_stockinfo_xls/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/export_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/custom_gantt_view/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/gantt_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/sales_credit_limit/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/credit_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item" style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/base_account_budget/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/budget_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/product_to_quotation/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/quotation_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/employee_documents_expiry/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/employee_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="left:-25px;width: 35px;color: #000;"> |
||||
|
<span class="carousel-control-prev-icon"><i class="fa fa-chevron-left" style="font-size:24px"></i></span> </a> |
||||
|
<a class="carousel-control-next" href="#demo1" data-slide="next" style="right:-25px;width: 35px;color: #000;"> |
||||
|
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SUGGESTED PRODUCTS --> |
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
<section class="container" style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Our Services</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Customization</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Support</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Hire |
||||
|
Odoo |
||||
|
Developer</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Integration</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Migration</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Consultancy</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Licensing Consultancy</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- END OF END OF OUR SERVICES --> |
||||
|
|
||||
|
<!-- OUR INDUSTRIES --> |
||||
|
<section class="container" style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Our Industries</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Trading |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easily procure |
||||
|
and |
||||
|
sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
POS |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easy |
||||
|
configuration |
||||
|
and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Education |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
A platform for |
||||
|
educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Manufacturing |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Plan, track and |
||||
|
schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
E-commerce & Website |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Mobile |
||||
|
friendly, |
||||
|
awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Service Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Keep track of |
||||
|
services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Restaurant |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Run your bar or |
||||
|
restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Hotel Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
An |
||||
|
all-inclusive |
||||
|
hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</section> |
||||
|
|
||||
|
<!-- END OF END OF OUR INDUSTRIES --> |
||||
|
|
||||
|
<!-- FOOTER --> |
||||
|
<!-- Footer Section --> |
||||
|
<section class="container" style="margin: 5rem auto 2rem;"> |
||||
|
<div class="row" style="max-width:1540px;"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Need Help?</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- Contact Cards --> |
||||
|
<div class="row d-flex justify-content-center align-items-center" |
||||
|
style="max-width:1540px; margin: 0 auto 2rem auto;"> |
||||
|
|
||||
|
<div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; "> |
||||
|
|
||||
|
<div class="row mt-4"> |
||||
|
<div class="col-lg-6"> |
||||
|
<a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover" |
||||
|
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i |
||||
|
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a> |
||||
|
</div> |
||||
|
<div class="col-lg-6"> |
||||
|
<a href="https://api.whatsapp.com/send?phone=918606827707" target="_blank" |
||||
|
class="btn btn-block mb-2 deep_hover" |
||||
|
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i |
||||
|
class="fa fa-whatsapp mr-2"></i>+91 86068 27707</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
<!-- End of Contact Cards --> |
||||
|
</section> |
||||
|
<!-- Footer --> |
||||
|
<section class="oe_container" style="padding: 2rem 3rem 1rem;"> |
||||
|
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; "> |
||||
|
<!-- Logo --> |
||||
|
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;"> |
||||
|
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" /> |
||||
|
</div> |
||||
|
<!-- End of Logo --> |
||||
|
<div class="col-lg-12"> |
||||
|
<hr |
||||
|
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;"> |
||||
|
<!-- End of Footer Section --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- END OF FOOTER --> |
||||
|
|
||||
|
</div> |
@ -0,0 +1,25 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<!-- job Form View --> |
||||
|
<record id="hr_job_linkedin_form" model="ir.ui.view"> |
||||
|
<field name="name">hr.job.linkedin.form</field> |
||||
|
<field name="model">hr.job</field> |
||||
|
<field name="inherit_id" ref="hr.view_hr_job_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//form/sheet" position="before"> |
||||
|
<field name="like_comment" invisible="True"/> |
||||
|
<button name="likes_comments" string="Like/Comments" type="object" groups="base.group_user" attrs="{'invisible': [('comments', '!=', True)]}"/> |
||||
|
<button name="share_linkedin" string="Share on LinkedIn" type="object" attrs="{'invisible': [('update_key', '!=', False)]}" groups="base.group_user"/> |
||||
|
</xpath> |
||||
|
<xpath expr="//field[@name='department_id']" position="after"> |
||||
|
<field name="update_key" invisible="True"/> |
||||
|
<field name="access_token" invisible="True"/> |
||||
|
<field name="post_likes" invisible="True"/> |
||||
|
<field name="post_commands" invisible="True"/> |
||||
|
<field name="comments" invisible="True"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,35 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="hr_job_linkedin_like_command" model="ir.ui.view"> |
||||
|
<field name="name">hr.job.linkedin.form</field> |
||||
|
<field name="model">hr.job</field> |
||||
|
<field name="inherit_id" ref="hr.view_hr_job_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<div class="oe_button_box" name="button_box" position="inside"> |
||||
|
<button name="user_response_like" string="Likes" type="object" attrs="{'invisible': [('like_comment', '!=', True)]}" |
||||
|
class="oe_stat_button" icon="fa-thumbs-o-up"> |
||||
|
<div class="o_field_widget o_stat_info"> |
||||
|
<span class="o_stat_text">Likes</span> |
||||
|
</div> |
||||
|
<field name="post_likes" class="o_stat_value"/> |
||||
|
</button> |
||||
|
</div> |
||||
|
<div class="oe_button_box" name="button_box" position="inside"> |
||||
|
<button name="user_response_commends" string="Comments" type="object" attrs="{'invisible': [('like_comment', '!=', True)]}" |
||||
|
class="oe_stat_button" icon="fa fa-comments-o"> |
||||
|
<div class="o_field_widget o_stat_info"> |
||||
|
<span class="o_stat_text">Comments</span> |
||||
|
</div> |
||||
|
<field name="post_commands" class="o_stat_value"/> |
||||
|
</button> |
||||
|
</div> |
||||
|
<div class="oe_button_box" name="button_box" position="inside"> |
||||
|
<button name="view_shared_post" type="object" string="View Posts" attrs="{'invisible': [('like_comment', '!=', True)]}" |
||||
|
class="oe_stat_button" icon="fa fa-linkedin"> |
||||
|
</button> |
||||
|
</div> |
||||
|
</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,18 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<record id="hr_recruitment_comments" model="ir.actions.act_window"> |
||||
|
<field name="name">Post Comments</field> |
||||
|
<field name="res_model">linkedin.comments</field> |
||||
|
<field name="view_mode">tree</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_linkedin_comments_tree" model="ir.ui.view"> |
||||
|
<field name="name">linkedin comments tree</field> |
||||
|
<field name="model">linkedin.comments</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="arch"> |
||||
|
<field name="linkedin_comments" /> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,13 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<record id="view_auth_oauth_provider_secret_form" model="ir.ui.view"> |
||||
|
<field name="name">auth.oauth.provider.secret.form</field> |
||||
|
<field name="model">auth.oauth.provider</field> |
||||
|
<field name="inherit_id" ref="auth_oauth.view_oauth_provider_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='client_id']" position="after"> |
||||
|
<field name="client_secret"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,24 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="hr_linkedin_recruitment_config" model="ir.ui.view"> |
||||
|
<field name="name">res.config.settings.view.form.inherit.hr.linkedin</field> |
||||
|
<field name="name">LinkedIn Configure Recruitment</field> |
||||
|
<field name="model">res.config.settings</field> |
||||
|
<field name="inherit_id" ref="hr_recruitment.res_config_settings_view_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//div[@name='recruitment_process_div']" position="after"> |
||||
|
<h2>LinkedIn Credentials</h2> |
||||
|
<div class="row mt16 o_settings_container"> |
||||
|
<div class="col-xs-12 col-md-6 o_setting_box"> |
||||
|
<group> |
||||
|
<field name="li_username"/> |
||||
|
<field name="li_password" password="True"/> |
||||
|
</group> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |