Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Publications associées Réponses Vues Activité
3
sept. 22
21187
4
mars 21
15328
3
avr. 18
8019
3
janv. 20
5056
4
avr. 24
19779