summaryrefslogtreecommitdiff
path: root/addons/stock/report/product_packaging.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/stock/report/product_packaging.xml')
-rw-r--r--addons/stock/report/product_packaging.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/addons/stock/report/product_packaging.xml b/addons/stock/report/product_packaging.xml
new file mode 100644
index 00000000..984dbd04
--- /dev/null
+++ b/addons/stock/report/product_packaging.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<odoo>
+ <data>
+ <template id="label_product_packaging_view">
+ <t t-foreach="docs" t-as="packaging">
+ <t t-translation="off">
+^XA
+^FO100,50
+^A0N,44,33^FD<t t-esc="packaging.name"/>^FS
+^FO100,100
+^A0N,44,33^FD<t t-esc="packaging.product_id.display_name"/>^FS
+^FO100,150
+^A0N,44,33^FDQty: <t t-esc="packaging.qty"/> <t t-esc="packaging.product_uom_id.name" groups="uom.group_uom"/>^FS
+<t t-if="packaging.barcode">
+^FO100,200^BY3
+^BCN,100,Y,N,N
+^FD<t t-esc="packaging.barcode"/>^FS
+</t>
+^XZ
+ </t>
+ </t>
+ </template>
+ </data>
+</odoo>