<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <!--Report definition-->
        <report
            id="report_session"
            model="openacademy.session"
            string="Session Report"
            name="openacademy.report_session_view"
            file="openacademy.report_session"
            report_type="qweb-pdf" />

        <!--Report template-->
        <template id="report_session_view">
            <t t-call="report.html_container">
                <t t-foreach="docs" t-as="doc">
                    <!--<t t-call="report.external_layout">-->
                        <div class="page">
                            <h2 t-field="doc.name"/>
                            <p>From <span t-field="doc.start_date"/> to <span t-field="doc.end_date"/></p>
                            <h3>Attendees:</h3>
                            <ul>
                                <t t-foreach="doc.attendee_ids" t-as="attendee">
                                    <li><span t-field="attendee.name"/></li>
                                </t>
                            </ul>
                        </div>
                        <!--</t>-->
                </t>
            </t>
        </template>
    </data>
</openerp>


<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <!--Report definition-->
        <report
            id="report_session"
            model="openacademy.session"
            string="Session Report"
            name="openacademy.report_session_view"
            file="openacademy.report_session"
            report_type="qweb-pdf" />

        <!--Report template-->
        <template id="report_session_view">
            <t t-call="report.html_container">
                <t t-foreach="docs" t-as="doc">
                    <!--<t t-call="report.external_layout">-->
                        <div class="page">
                            <h2 t-field="doc.name"/>
                            <p>From <span t-field="doc.start_date"/> to <span t-field="doc.end_date"/></p>
                            <h3>Attendees:</h3>
                            <ul>
                                <t t-foreach="doc.attendee_ids" t-as="attendee">
                                    <li><span t-field="attendee.name"/></li>
                                    <li><span t-field="attendee.email"/></li>
                                </t>
                            </ul>
                        </div>
                        <!--</t>-->
                </t>
            </t>
        </template>
    </data>
</openerp>


Add attendee's email to session report
[IMP] openacademy: Add attendee's email to session report
