Skip to content

Commit

Permalink
[FIX] survey_question_type_nps: fix survey template
Browse files Browse the repository at this point in the history
  • Loading branch information
youstina.nabil committed May 9, 2024
1 parent 8be8132 commit 501ac12
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions survey_question_type_nps/templates/survey_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
</xpath>
</template>
<template id="result" inherit_id="survey.survey_page_statistics_question">
<xpath
expr="//t[@t-call='survey.question_result_number_or_date_or_datetime']/parent::t"
position="after"
>
<xpath expr="//div[hasclass('o_survey_question_description')]" position="after">
<t t-if="question.question_type == 'nps_rate'">
<t t-call="survey.question_result_number_or_date_or_datetime" />
</t>
Expand Down

0 comments on commit 501ac12

Please sign in to comment.