summaryrefslogtreecommitdiff
path: root/addons/purchase/views/purchase_template.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/purchase/views/purchase_template.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/purchase/views/purchase_template.xml')
-rw-r--r--addons/purchase/views/purchase_template.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/addons/purchase/views/purchase_template.xml b/addons/purchase/views/purchase_template.xml
new file mode 100644
index 00000000..7aaaf19d
--- /dev/null
+++ b/addons/purchase/views/purchase_template.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+
+ <template id="track_po_line_template">
+ <div>
+ <strong>The ordered quantity has been updated.</strong>
+ <ul>
+ <li><t t-esc="line.product_id.display_name"/>:</li>
+ Ordered Quantity: <t t-esc="line.product_qty" /> -&gt; <t t-esc="float(product_qty)"/><br/>
+ <t t-if='line.order_id.product_id.type in ("consu", "product")'>
+ Received Quantity: <t t-esc="line.qty_received" /><br/>
+ </t>
+ Billed Quantity: <t t-esc="line.qty_invoiced"/>
+ </ul>
+ </div>
+ </template>
+
+ <template id="track_po_line_qty_received_template">
+ <div>
+ <strong>The received quantity has been updated.</strong>
+ <ul>
+ <li><t t-esc="line.product_id.display_name"/>:</li>
+ Received Quantity: <t t-esc="line.qty_received" /> -&gt; <t t-esc="float(qty_received)"/><br/>
+ </ul>
+ </div>
+ </template>
+
+</odoo>