[FIX] stock: remove useless today in replenish popover

The virtual record have their date and forecast at date recompute
after creation. It means that the popover saying today is False since
it took the date with lead days.

closes odoo/odoo#51507

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
This commit is contained in:
Arnold Moyaux
2020-05-19 08:01:53 +00:00
parent 6b2dfcc8b0
commit c71bf6991f
@@ -2,7 +2,7 @@
<templates id="template" xml:space="preserve">
<div t-name="stock.leadDaysPopOver">
<p>
The forecasted stock <t t-if="virtual">today</t><t t-else="">on the <t t-esc="lead_days_date"/></t>
The forecasted stock on the <t t-esc="lead_days_date"/>
is <t t-if="qty_to_order &lt;= 0"><t t-esc="qty_forecast"/> <t t-esc="product_uom_name"/></t><t t-else="">
below the minimum inventory of <t t-esc="product_min_qty"/> <t t-esc="product_uom_name"/>
: <t t-esc="qty_to_order"/> <t t-esc="product_uom_name"/> should be replenished to reach the maximum of