[FIX] purchase: qty updated

- Create a PO with 2 different product lines (A & B), confirm.
- Change quantity of B and save

The chatter message mentions A, while the quantity of B was changed.

opw-1849258
This commit is contained in:
Nicolas Martinelli
2018-06-08 09:41:19 +02:00
committed by Nicolas Martinelli
parent 59bfef4c27
commit 7693ba2d35
+1 -1
View File
@@ -5,7 +5,7 @@
<div>
<strong>The ordered quantity has been updated.</strong>
<ul>
<li><t t-esc="line.order_id.product_id.display_name"/>:</li>
<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/>