Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
sep. 22
21188
4
mar. 21
15330
3
apr. 18
8021
3
jan. 20
5057
4
apr. 24
19779