summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/views/report_userlabel.xml
blob: 33281bb4c18fb4a11307d11487b245ecf45fd32f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_userlabel">
    <t t-call="web.basic_layout">
        <div class="page">
            <t t-foreach="docs" t-as="user">
                <div class="col-6 mb92">
                    <table class="table table-bordered">
                        <thead>
                            <tr>
                                <th class="col-4 danger"/>
                                <th class="active"/>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td><img t-if="user.barcode" t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', user.barcode, 300, 50)" style="width:100%;height:35%;" alt="Barcode"/></td>
                                <td><strong t-field="user.name"/></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </t>
        </div>
    </t>
</template>
</odoo>