summaryrefslogtreecommitdiff
path: root/addons/purchase_product_matrix/report
diff options
context:
space:
mode:
Diffstat (limited to 'addons/purchase_product_matrix/report')
-rw-r--r--addons/purchase_product_matrix/report/purchase_order_templates.xml10
-rw-r--r--addons/purchase_product_matrix/report/purchase_quotation_templates.xml10
2 files changed, 20 insertions, 0 deletions
diff --git a/addons/purchase_product_matrix/report/purchase_order_templates.xml b/addons/purchase_product_matrix/report/purchase_order_templates.xml
new file mode 100644
index 00000000..91a1d077
--- /dev/null
+++ b/addons/purchase_product_matrix/report/purchase_order_templates.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <template id="grid_purchaseorder_inherit" inherit_id="purchase.report_purchaseorder_document">
+ <xpath expr="//div[@id='informations']" position="after">
+ <t t-call="product_matrix.matrix">
+ <t t-set="order" t-value="o"/>
+ </t>
+ </xpath>
+ </template>
+</odoo>
diff --git a/addons/purchase_product_matrix/report/purchase_quotation_templates.xml b/addons/purchase_product_matrix/report/purchase_quotation_templates.xml
new file mode 100644
index 00000000..a00c15bc
--- /dev/null
+++ b/addons/purchase_product_matrix/report/purchase_quotation_templates.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <template id="grid_report_purchaseorder_template_inherit" inherit_id="purchase.report_purchasequotation_document">
+ <xpath expr="//table[hasclass('table')]" position="before">
+ <t t-call="product_matrix.matrix">
+ <t t-set="order" t-value="o"/>
+ </t>
+ </xpath>
+ </template>
+</odoo>