跳至内容
菜单
此问题已终结

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>

形象
丢弃
相关帖文 回复 查看 活动
3
9月 22
21135
4
3月 21
15273
3
4月 18
7970
3
1月 20
5050
4
4月 24
19761