summaryrefslogtreecommitdiff
path: root/addons/purchase/views
diff options
context:
space:
mode:
authoryhu-odoo <yhu@odoo.com>2020-06-17 12:29:13 +0000
committeryhu-odoo <yhu@odoo.com>2020-06-29 13:27:24 +0000
commit0f80e69b8d260c0ed4bbbbad2d0c1e88ab054bf5 (patch)
tree8e996c42e0f1b578a497d8aed9c611637d89b44f /addons/purchase/views
parent78a860fe862687c409e8b0ad0544cb9c5923be7d (diff)
[IMP] purchase(_stock): track qty_received in chatter
Track the change of qty_received of POL in the chatter of PO. Task 2265912 PR #52809 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/purchase/views')
-rw-r--r--addons/purchase/views/purchase_template.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/purchase/views/purchase_template.xml b/addons/purchase/views/purchase_template.xml
index d844cb9ec77..7aaaf19d823 100644
--- a/addons/purchase/views/purchase_template.xml
+++ b/addons/purchase/views/purchase_template.xml
@@ -15,4 +15,14 @@
</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>