summaryrefslogtreecommitdiff
path: root/addons/product/report/product_template_templates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/product/report/product_template_templates.xml')
-rw-r--r--addons/product/report/product_template_templates.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/addons/product/report/product_template_templates.xml b/addons/product/report/product_template_templates.xml
new file mode 100644
index 00000000..11178472
--- /dev/null
+++ b/addons/product/report/product_template_templates.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+<template id="report_producttemplatelabel">
+ <t t-call="web.basic_layout">
+ <div class="page">
+ <t t-foreach="docs" t-as="template">
+ <t t-foreach="template.product_variant_ids" t-as="product">
+ <t t-call="product.report_simple_label">
+ <t t-set="product" t-value="product"/>
+ </t>
+ </t>
+ </t>
+ </div>
+ </t>
+</template>
+<template id="report_producttemplatebarcode">
+ <t t-call="web.basic_layout">
+ <div class="page">
+ <t t-foreach="docs" t-as="template">
+ <t t-foreach="template.product_variant_ids" t-as="product">
+ <t t-call="product.report_simple_barcode">
+ <t t-set="product" t-value="product"/>
+ </t>
+ </t>
+ </t>
+ </div>
+ </t>
+</template>
+</odoo>