diff options
Diffstat (limited to 'addons/purchase/views/purchase_template.xml')
| -rw-r--r-- | addons/purchase/views/purchase_template.xml | 28 |
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" /> -> <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" /> -> <t t-esc="float(qty_received)"/><br/> + </ul> + </div> + </template> + +</odoo> |
