Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3558 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Sept. 22
21231
4
März 21
15391
3
Apr. 18
8059
3
Jan. 20
5064
4
Apr. 24
19802