| 1 | # Part of Odoo. See LICENSE file for full copyright and licensing details. |
| 2 | |
| 3 | from odoo.addons.survey.controllers import main |
| 4 | |
| 5 | |
| 6 | class ApplicantSurvey(main.Survey): |
| 7 | def _prepare_retry_additional_values(self, answer): |
| 8 | result = super()._prepare_retry_additional_values(answer) |
| 9 | if answer.applicant_id: |
| 10 | result["applicant_id"] = answer.applicant_id.id |
| 11 | |
| 12 | return result |