diff --git a/hr_linkedin_recruitment/README.rst b/hr_linkedin_recruitment/README.rst new file mode 100644 index 000000000..d509b7167 --- /dev/null +++ b/hr_linkedin_recruitment/README.rst @@ -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 `__ + +Developers +---------- +* `Nilmar Shereef `__ +* `Jesni Banu +* `v11 & v12 Milind Mohan +* v16 Gayathri V + +Contact +------- +* Mail Contact : odoo@cybrosys.com + +Related Blog +------- +* `Cybrosys LinkedIn Blog `__ + +Further information +=================== +HTML Description: ``__ +Technical instructions: ``__ diff --git a/hr_linkedin_recruitment/__init__.py b/hr_linkedin_recruitment/__init__.py new file mode 100644 index 000000000..80aac42f1 --- /dev/null +++ b/hr_linkedin_recruitment/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +from . import models +from . import controller + diff --git a/hr_linkedin_recruitment/__manifest__.py b/hr_linkedin_recruitment/__manifest__.py new file mode 100644 index 000000000..927ad80e1 --- /dev/null +++ b/hr_linkedin_recruitment/__manifest__.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# +{ + '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, +} diff --git a/hr_linkedin_recruitment/controller/__init__.py b/hr_linkedin_recruitment/controller/__init__.py new file mode 100644 index 000000000..f4c339a49 --- /dev/null +++ b/hr_linkedin_recruitment/controller/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +from . import main \ No newline at end of file diff --git a/hr_linkedin_recruitment/controller/main.py b/hr_linkedin_recruitment/controller/main.py new file mode 100644 index 000000000..c40ef2b93 --- /dev/null +++ b/hr_linkedin_recruitment/controller/main.py @@ -0,0 +1,172 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +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) diff --git a/hr_linkedin_recruitment/data/auth_linkedin_data.xml b/hr_linkedin_recruitment/data/auth_linkedin_data.xml new file mode 100644 index 000000000..11b8338ef --- /dev/null +++ b/hr_linkedin_recruitment/data/auth_linkedin_data.xml @@ -0,0 +1,14 @@ + + + + + LinkedIn + https://www.linkedin.com/oauth/v2/authorization + r_basicprofile r_emailaddress w_share w_member_social + https://api.linkedin.com/v2/me + https://api.linkedin.com/v2/me + fa fa-linkedin-square + Share post with LinkedIn + + + diff --git a/hr_linkedin_recruitment/doc/RELEASE_NOTES.md b/hr_linkedin_recruitment/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..0e298103f --- /dev/null +++ b/hr_linkedin_recruitment/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 25.01.2023 +#### Version 16.0.1.0.0 +##### ADD +- Initial Commit (linkedin api v2) diff --git a/hr_linkedin_recruitment/doc/requirment.txt b/hr_linkedin_recruitment/doc/requirment.txt new file mode 100644 index 000000000..6a8ad0917 --- /dev/null +++ b/hr_linkedin_recruitment/doc/requirment.txt @@ -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) + + + diff --git a/hr_linkedin_recruitment/models/__init__.py b/hr_linkedin_recruitment/models/__init__.py new file mode 100644 index 000000000..d7b30d057 --- /dev/null +++ b/hr_linkedin_recruitment/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +from . import recruitment_config +from . import hr_job +from . import auth_outh +from . import linkedin_comments diff --git a/hr_linkedin_recruitment/models/auth_outh.py b/hr_linkedin_recruitment/models/auth_outh.py new file mode 100644 index 000000000..a78b8a3ea --- /dev/null +++ b/hr_linkedin_recruitment/models/auth_outh.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +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..") diff --git a/hr_linkedin_recruitment/models/hr_job.py b/hr_linkedin_recruitment/models/hr_job.py new file mode 100644 index 000000000..6b111aae6 --- /dev/null +++ b/hr_linkedin_recruitment/models/hr_job.py @@ -0,0 +1,155 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +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' + } diff --git a/hr_linkedin_recruitment/models/linkedin_comments.py b/hr_linkedin_recruitment/models/linkedin_comments.py new file mode 100644 index 000000000..7a0ce3c1c --- /dev/null +++ b/hr_linkedin_recruitment/models/linkedin_comments.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +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") diff --git a/hr_linkedin_recruitment/models/mechanize_op.py b/hr_linkedin_recruitment/models/mechanize_op.py new file mode 100644 index 000000000..f701d6438 --- /dev/null +++ b/hr_linkedin_recruitment/models/mechanize_op.py @@ -0,0 +1,73 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +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.') diff --git a/hr_linkedin_recruitment/models/recruitment_config.py b/hr_linkedin_recruitment/models/recruitment_config.py new file mode 100644 index 000000000..0c43a5af3 --- /dev/null +++ b/hr_linkedin_recruitment/models/recruitment_config.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 . +# +############################################################################# + +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 diff --git a/hr_linkedin_recruitment/security/ir.model.access.csv b/hr_linkedin_recruitment/security/ir.model.access.csv new file mode 100644 index 000000000..b491e564d --- /dev/null +++ b/hr_linkedin_recruitment/security/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_linkedin_comments,linkedin.comments,model_linkedin_comments,base.group_user,1,1,1,1 + + + diff --git a/hr_linkedin_recruitment/static/description/assets/icons/check.png b/hr_linkedin_recruitment/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/check.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/chevron.png b/hr_linkedin_recruitment/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/chevron.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/cogs.png b/hr_linkedin_recruitment/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/cogs.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/consultation.png b/hr_linkedin_recruitment/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/consultation.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/ecom-black.png b/hr_linkedin_recruitment/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/ecom-black.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/education-black.png b/hr_linkedin_recruitment/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/education-black.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/hotel-black.png b/hr_linkedin_recruitment/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/hotel-black.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/license.png b/hr_linkedin_recruitment/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/license.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/lifebuoy.png b/hr_linkedin_recruitment/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/lifebuoy.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/manufacturing-black.png b/hr_linkedin_recruitment/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/manufacturing-black.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/pos-black.png b/hr_linkedin_recruitment/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/pos-black.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/puzzle.png b/hr_linkedin_recruitment/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/puzzle.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/restaurant-black.png b/hr_linkedin_recruitment/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/restaurant-black.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/service-black.png b/hr_linkedin_recruitment/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/service-black.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/trading-black.png b/hr_linkedin_recruitment/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/trading-black.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/training.png b/hr_linkedin_recruitment/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/training.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/update.png b/hr_linkedin_recruitment/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/update.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/user.png b/hr_linkedin_recruitment/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/user.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/icons/wrench.png b/hr_linkedin_recruitment/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/icons/wrench.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/categories.png b/hr_linkedin_recruitment/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/categories.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/check-box.png b/hr_linkedin_recruitment/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/check-box.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/compass.png b/hr_linkedin_recruitment/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/compass.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/corporate.png b/hr_linkedin_recruitment/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/corporate.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/customer-support.png b/hr_linkedin_recruitment/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/customer-support.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/cybrosys-logo.png b/hr_linkedin_recruitment/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/cybrosys-logo.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/features.png b/hr_linkedin_recruitment/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/features.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/logo.png b/hr_linkedin_recruitment/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/logo.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/pictures.png b/hr_linkedin_recruitment/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/pictures.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/pie-chart.png b/hr_linkedin_recruitment/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/pie-chart.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/right-arrow.png b/hr_linkedin_recruitment/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/right-arrow.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/star.png b/hr_linkedin_recruitment/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/star.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/support.png b/hr_linkedin_recruitment/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/support.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/misc/whatsapp.png b/hr_linkedin_recruitment/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/misc/whatsapp.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/modules/1.png b/hr_linkedin_recruitment/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/modules/1.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/modules/2.png b/hr_linkedin_recruitment/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/modules/2.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/modules/3.png b/hr_linkedin_recruitment/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/modules/3.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/modules/4.png b/hr_linkedin_recruitment/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/modules/4.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/modules/5.gif b/hr_linkedin_recruitment/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/modules/5.gif differ diff --git a/hr_linkedin_recruitment/static/description/assets/modules/6.png b/hr_linkedin_recruitment/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/modules/6.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/hero.gif b/hr_linkedin_recruitment/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..77b1c0fb2 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/hero.gif differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image1.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image1.png new file mode 100644 index 000000000..24276ed94 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image1.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image10.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image10.png new file mode 100644 index 000000000..076ab95f0 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image10.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image2.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image2.png new file mode 100644 index 000000000..b675733a2 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image2.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image3.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image3.png new file mode 100644 index 000000000..cff8fbe9e Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image3.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image4.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image4.png new file mode 100644 index 000000000..0e82afff0 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image4.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image5.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image5.png new file mode 100644 index 000000000..2d825f4e1 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image5.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image6.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image6.png new file mode 100644 index 000000000..3524de314 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image6.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image7.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image7.png new file mode 100644 index 000000000..9e68743ac Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image7.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image8.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image8.png new file mode 100644 index 000000000..a6d73fc74 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image8.png differ diff --git a/hr_linkedin_recruitment/static/description/assets/screenshots/image9.png b/hr_linkedin_recruitment/static/description/assets/screenshots/image9.png new file mode 100644 index 000000000..202aea6c1 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/assets/screenshots/image9.png differ diff --git a/hr_linkedin_recruitment/static/description/banner.png b/hr_linkedin_recruitment/static/description/banner.png new file mode 100644 index 000000000..e76acf229 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/banner.png differ diff --git a/hr_linkedin_recruitment/static/description/icon.png b/hr_linkedin_recruitment/static/description/icon.png new file mode 100644 index 000000000..1a7a17d07 Binary files /dev/null and b/hr_linkedin_recruitment/static/description/icon.png differ diff --git a/hr_linkedin_recruitment/static/description/index.html b/hr_linkedin_recruitment/static/description/index.html new file mode 100644 index 000000000..21db767c4 --- /dev/null +++ b/hr_linkedin_recruitment/static/description/index.html @@ -0,0 +1,668 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Advanced HR-LinkedIn Integration

+

+ Share your recruitemnt posts directly to LinkedIn via authorized login. +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ This integration module makes your HR recruitment better. You can share your posts directly to + LinkedIn via authorized login.

+
+

+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Configure the layout

+
+
+ +
+
+ +
+
+

+ Share Recruitment Post to LinkedIn from Odoo.

+
+
+ +
+
+ +
+
+

+ Retrive Count of likes and Comments

+
+
+ +
+
+ +
+
+

+ Retrive The Comments and direct view of Shred Post

+
+
+ +
+
+ +
+
+

+ Enlarge Your Audience Range.

+
+
+ + +
+ +
+
+

+ Screenshots +

+
+
+

+ Setup a LinkedIn App

+

+ Setup a LinkedIn App with proper information.

+ +
+ +
+

+ LinkedIn Products For the Permissions

+

+ +

+ +
+ +
+

+ Fill-up App Credentials

+

+ + Activate developer mode & fill-up API keys.

+ + +
+ + +
+

+ Configuration of LinkedIn Account Details

+

+ + Username, Password.

+ +
+ + +
+

+ Share Job Requirement with LinkedIn

+

+ + Share Job Requirement with LinkedIn by using 'Share on linked' button.

+ +
+ + +
+

+ Shared Post in LinkedIn

+

+ + Takes right candidates from right place.

+ +
+ +
+

+ Retrieve Count of Likes And Comments on the button Click

+

+ +

+ +
+ +
+

+ Counts of Likes And Comments and also a button for view the shared post

+

+ +

+ +
+ +
+

+ Retrieved Comments Of Shared post

+

+ +

+ +
+ +
+ +
+
+

Suggested Products

+
+ + +
+
+ + + +
+
+
+

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+ +
+
+ + + + + +
+
+
+

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/hr_linkedin_recruitment/views/hr_job_linkedin.xml b/hr_linkedin_recruitment/views/hr_job_linkedin.xml new file mode 100644 index 000000000..299daac34 --- /dev/null +++ b/hr_linkedin_recruitment/views/hr_job_linkedin.xml @@ -0,0 +1,25 @@ + + + + + + hr.job.linkedin.form + hr.job + + + + + + +
+ +
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/hr_linkedin_recruitment/views/linkedin_comments.xml b/hr_linkedin_recruitment/views/linkedin_comments.xml new file mode 100644 index 000000000..9ad6e58ee --- /dev/null +++ b/hr_linkedin_recruitment/views/linkedin_comments.xml @@ -0,0 +1,18 @@ + + + + Post Comments + linkedin.comments + tree + + + + linkedin comments tree + linkedin.comments + + + + + + + \ No newline at end of file diff --git a/hr_linkedin_recruitment/views/oauth_view.xml b/hr_linkedin_recruitment/views/oauth_view.xml new file mode 100644 index 000000000..77644173c --- /dev/null +++ b/hr_linkedin_recruitment/views/oauth_view.xml @@ -0,0 +1,13 @@ + + + + auth.oauth.provider.secret.form + auth.oauth.provider + + + + + + + + diff --git a/hr_linkedin_recruitment/views/recruitment_config_settings.xml b/hr_linkedin_recruitment/views/recruitment_config_settings.xml new file mode 100644 index 000000000..aa00ef334 --- /dev/null +++ b/hr_linkedin_recruitment/views/recruitment_config_settings.xml @@ -0,0 +1,24 @@ + + + + + res.config.settings.view.form.inherit.hr.linkedin + LinkedIn Configure Recruitment + res.config.settings + + + +

LinkedIn Credentials

+
+
+ + + + +
+
+
+
+
+
+