<?xml version="1.0" encoding="utf-8"?> <odoo> <template id="template_id" name="feedback inherit" inherit_id="sh_all_in_one_helpdesk.helpdesk_ticket_feedback_page"> <xpath expr="//form[@id='smileys']" position="replace"> <form method="POST" t-attf-action="/helpdesk/ticket/feedback/#{ticket}" id="smileys"> <input type="hidden" name="portal_unvalued" id="portal_unvalued" t-att-value="unvalued"/> <div class="row"> <div class="col-12"> <h5>¿Solucionamos completamente tu problema?</h5> <input type="radio" name="problem_solved" id="portal_answer_question_1" value="True">Si</input> <input type="radio" name="problem_solved" id="portal_answer_question_1" value="False">No</input> </div> </div> <div class="row"> <div class="col-12"> <h5>¿Ha sido buena nuestra actitud de Servicio?</h5> <input type="radio" name="good_actitude" id="portal_answer_question_2" value="True">Si</input> <input type="radio" name="good_actitude" id="portal_answer_question_2" value="False">No</input> </div> </div> <div class="row"> <div class="col-12"> <h5>¿Comenzamos a atenderte antes de 10 minutos?</h5> <input type="radio" name="soon_attention" id="portal_answer_question_3" value="True">Si</input> <input type="radio" name="soon_attention" id="portal_answer_question_3" value="False">No</input> </div> </div> <div class="row"> <div class="col-12"> <input type="radio" name="smiley" value="6" class="very-happy radio_smile" checked="checked" /> <input type="radio" name="smiley" value="5" class="happy radio_smile" /> <input type="radio" name="smiley" value="4" class="neutral radio_smile" /> <input type="radio" name="smiley" value="3" class="sad radio_smile" /> <input type="radio" name="smiley" value="2" class="very-sad radio_smile" /> <div class="form-group"> <input type="hidden" name="ticket_id" id="ticket_id" t-att-value="ticket" style="display: none;" /> <label style="color:white;" for="comment">Comentario</label> <textarea class="form-control" rows="5" name="comment"></textarea> </div> </div> </div> <div> <div class="form-group"> <button id="feedback_btn" class="btn btn-primary btn-lg" style="color:white;">Enviar Comentarios</button> </div> <div>Parece que te sientes <span id="result" onclick="updateValue(this)">Feliz</span> hoy..</div> </div> </form> </xpath> </template> <template id="feedback_thanks_inherit" name="Herencia agradecimiento" inherit_id="sh_all_in_one_helpdesk.ticket_feedback_thank_you"> <xpath expr="//div[@class='row']" position="after"> <div class="row"> <div class="col-md-12 text-center"> <a class="btn btn-primary" href="/my">Regresar Portal</a> </div> </div> </xpath> </template> </odoo>