Skip to content

Commit

Permalink
[MIG] crm_survey: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasperalta1 committed Jun 26, 2023
1 parent 8565d80 commit d23086a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crm_survey/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': "CRM SURVEY",
'version': '13.0.1.0.0',
'version': "16.0.1.0.0",
'category': 'Human Resources Survey',
'license': 'AGPL-3',
'author': 'ADHOC SA',
Expand All @@ -30,7 +30,7 @@
'views/crm_job_views.xml',
'views/crm_applicant_views.xml',
],
'installable': False,
'installable': True,
'auto_install': False,
'application': False,
}
4 changes: 2 additions & 2 deletions crm_survey/models/crm_applicant.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def action_start_survey(self):
response = self.response_id
# grab the token of the response and start surveying
return self.survey_id.with_context(
survey_token=response.token).action_start_survey()
survey_token=response.access_token).action_start_survey()

def action_print_survey(self):
""" If response is available then print"""
Expand All @@ -34,4 +34,4 @@ def action_print_survey(self):
else:
response = self.response_id
return self.survey_id.with_context(
survey_token=response.token).action_print_survey()
survey_token=response.access_token).action_print_survey()

0 comments on commit d23086a

Please sign in to comment.