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>