| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <data> |
| 4 | <template id="hr_recruitment_survey_button_form_view" inherit_id="survey.survey_button_form_view"> |
| 5 | <xpath expr="//div[hasclass('survey_button_form_view_hook')]" position="inside"> |
| 6 | <a t-if="(env.user.has_group('hr_recruitment.group_hr_recruitment_manager') and survey.survey_type == 'recruitment')" |
| 7 | t-attf-href="/odoo/action-hr_recruitment_survey.survey_survey_action_recruitment/{{survey.id}}" |
| 8 | class="ms-2"> |
| 9 | <i class="oi oi-fw oi-arrow-right"/>Go to Recruitment |
| 10 | </a> |
| 11 | </xpath> |
| 12 | </template> |
| 13 | </data> |
| 14 | </odoo> |