summaryrefslogtreecommitdiff
path: root/addons/stock/report/product_templates.xml
blob: 20b0faba8a9f35433eb57087353ba0af8344c0c8 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data>
        <template id="label_product_template_view">
            <t t-foreach="docs" t-as="product">
                <t t-translation="off">
^XA
^FO100,50
^A0N,44,33^FD<t t-esc="product.display_name"/>^FS
^FO100,100
<t t-if="product.currency_id.position == 'after'">
^CI28
^A0N,44,33^FH^FDPrice: <t t-esc="product.list_price" t-options='{"widget": "float", "precision": 2}'/><t t-esc="product.currency_id.symbol"/>^FS
</t>
<t t-if="product.currency_id.position == 'before'">
^CI28
^A0N,44,33^FH^FDPrice: <t t-esc="product.currency_id.symbol"/><t t-esc="product.list_price" t-options='{"widget": "float", "precision": 2}'/>^FS
</t>
<t t-if="product.barcode">
^FO100,150^BY3
^BCN,100,Y,N,N
^FD<t t-esc="product.barcode"/>^FS
</t>
^XZ
                </t>
            </t>
        </template>
        <template id="label_product_product_view">
            <t t-foreach="docs" t-as="product">
                <t t-translation="off">
^XA
^FO100,50
^A0N,44,33^FD<t t-esc="product.display_name"/>^FS
^FO100,100
<t t-if="product.currency_id.position == 'after'">
^CI28
^A0N,44,33^FH^FDPrice: <t t-esc="product.lst_price" t-options='{"widget": "float", "precision": 2}'/><t t-esc="product.currency_id.symbol"/>^FS
</t>
<t t-if="product.currency_id.position == 'before'">
^CI28
^A0N,44,33^FH^FDPrice: <t t-esc="product.currency_id.symbol"/><t t-esc="product.lst_price" t-options='{"widget": "float", "precision": 2}'/>^FS
</t>
<t t-if="product.barcode">
^FO100,150^BY3
^BCN,100,Y,N,N
^FD<t t-esc="product.barcode"/>^FS
</t>
^XZ
                </t>
            </t>
        </template>
        <template id="label_barcode_product_template_view">
            <t t-foreach="docs" t-as="product">
                <t t-translation="off">
^XA
^FO100,50
^A0N,44,33^FD<t t-esc="product.display_name"/>^FS
<t t-if="product.barcode ">
^FO100,100^BY3
^BCN,100,Y,N,N
^FD<t t-esc="product.barcode"/>^FS
</t>
^XZ
                </t>
            </t>
        </template>
        <template id="label_barcode_product_product_view">
            <t t-foreach="docs" t-as="product">
                <t t-translation="off">
^XA
^FO100,50
^A0N,44,33^FD<t t-esc="product.display_name"/>^FS
<t t-if="product.barcode">
^FO100,100^BY3
^BCN,100,Y,N,N
^FD<t t-esc="product.barcode"/>^FS
</t>
^XZ
                </t>
            </t>
        </template>
        <template id="label_lot_template_view">
            <t t-foreach="docs" t-as="lot">
                <t t-translation="off">
^XA
^FO100,50
^A0N,44,33^FD<t t-esc="lot.product_id.display_name"/>^FS
^FO100,100
^A0N,44,33^FDLN/SN: <t t-esc="lot.name"/>^FS
^FO100,150^BY3
^BCN,100,Y,N,N
^FD<t t-esc="lot.name"/>^FS
^XZ
                </t>
            </t>
        </template>
    </data>
</odoo>