Files
odoo_source/addons/stock/report/product_templates.xml
T
Dipalee Bhalodia 78ab56e797 [MOV] stock_zebra,stock: Move reports from stock_zebra to stock
All the reports and test file from stock_zebra to stock  and mrp_zebra to mrp

closes odoo/odoo#27676
2019-01-22 11:38:56 +00:00

99 lines
2.8 KiB
XML

<?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.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_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>