Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3541 Visualizações

QWeb Report is showing all the subjects listed in exam session, while it should show only two subjects against each student, which the student has choosen in subject Registration.

Where does the 'subject' variable come from in the below code?????


    <tr t-foreach="o['line']" t-as="s">

                                                <td class="text-left">

                                                    <span t-raw="'%s' %  s['subject'] if  s['subject']  else ''"/>

                                                </td>

                                                <td class="text-center">

                                                    <span t-raw="'%s' %   s['date'] if  s['date'] else ''"/>

                                                </td>

                                                <td class="text-center">

                                                    <span t-esc="s['time']"/>

                                                </td>

                                                <td class="text-left">

                                                    <span t-raw="'%s' %   s['sup_sign']  if  s['sup_sign']  else ''"/>

                                                </td>

                                              </tr>

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
set. 22
21186
4
mar. 21
15328
3
abr. 18
8017
3
jan. 20
5056
4
abr. 24
19778