<t t-name="stock.report_reception_body">
        <div class="o_report_reception justify-content-between">
            <div class="o_report_reception_header my-5">
                <h3>
                    <t t-if="docs">
                        <t t-foreach="docs" t-as="doc">
                            <div class="p-2">
                                <a href="#" t-att-res-model="doc_model" view-type="form" t-att-res-id="doc.id">
                                    <span t-out="doc.display_name">Demo Display Name</span>
                                </a>
                                <span t-field="doc.display_name" t-options="{'widget': 'barcode', 'width': 300, 'height': 50}">Display Name</span>
                                <span t-field="doc.state" t-attf-class="badge rounded-pill bg-opacity-50 #{'bg-success' if doc.state == 'done' else 'bg-info'}">Andrwep</span>
                            </div>
                        </t>
                    </t>
                    <t t-else="">
                        <span t-out="reason">Reason</span>
                    </t>
                </h3>
            </div>
            <table t-if="sources_to_lines" class="o_report_reception_table table table-sm text-start">
                <t t-foreach="sources_to_lines" t-as="source">
                    <thead t-if="any(line['is_assigned'] for line in sources_to_lines[source])">
                        <tr class="bg-light">
                            <th>
                                <span t-field="source[0].display_name" t-options="{'widget': 'barcode', 'width': 200, 'height': 30}">Display Name</span>
                                <i t-if="source[0].priority == '1'" class="o_priority o_priority_star fa fa-star"/>
                                <a name="source_link" href="#" t-att-res-model="source[0]._name" view-type="form" t-att-res-id="source[0].id">
                                    <span t-out="source[0].display_name">DEMO_SOURCE_DISPLAY_NAME</span>
                                </a>
                                <span t-if="len(source) &gt; 1">
                                    (<a name="origin_link" href="#" t-att-res-model="source[1]._name" view-type="form" t-att-res-id="source[1].id">
                                    <span t-out="source[1].display_name">DEMO_ORIGIN_DISPLAY_NAME</span></a>)
                                </span>
                                <span t-if="source[0]._name == 'stock.picking' and source[0].partner_id">:
                                    <a name="source_link" href="#" t-att-res-model="source[0].partner_id._name" t-att-res-id="source[0].partner_id.id" view-type="form">
                                        <span t-out="source[0].partner_id.name">DEMO_PARTNER_NAME</span>
                                    </a>
                                </span>
                            </th>
                            <th>Expected Delivery: <span t-out="sources_to_formatted_scheduled_date[source]">DEMO_DATE</span></th>
                        </tr>
                    </thead>
                    <tbody>
                        <t t-set="possible_moves" t-value="sources_to_lines[source]"/>
                        <t t-foreach="possible_moves" t-as="line">
                            <!-- don't print non-assigned lines when printing pdf -->
                            <tr t-if="line['is_assigned']">
                                <td>
                                    <span t-out="line['product']['display_name']">DEMO_PRODUCT_DISPLAY_NAME</span>
                                </td>
                                <td>
                                    <span t-out="line['quantity']">DEMO_QUANTITY</span>
                                    <span groups="uom.group_uom" t-out="line['uom']">DEMO_UOM</span>
                                </td>
                            </tr>
                        </t>
                    </tbody>
                </t>
            </table>
            <p t-else="">
                No allocation need found.
            </p>
        </div>
    </t>