blob: a91551813004009a70cf2489ec5a59768193e72d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
<div t-name="stock.leadDaysPopOver">
<p>
The forecasted stock on the <t t-esc="lead_days_date"/>
is <t t-if="qty_to_order <= 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
<t t-esc="product_max_qty"/> <t t-esc="product_uom_name"/>.</t>
</p>
<table t-if="lead_days_description" class="table table-borderless">
<tbody>
<tr>
<td>
Today
</td>
<td class="text-right">
<t t-esc="today"/>
</td>
</tr>
<t t-raw="lead_days_description"/>
<tr class="table-info">
<td>
Forecasted Date
</td>
<td class="text-right text-nowrap">
= <t t-esc="lead_days_date"/>
</td>
</tr>
</tbody>
</table>
<button class="text-left btn btn-link action_open_forecast"
type="button">
<i class="fa fa-fw o_button_icon fa-arrow-right"></i>
View Forecast
</button>
</div>
<t t-name="StockOrderpoint.Buttons">
<span>
<button type="button" class="btn d-none btn-primary o_button_order">
Order
</button>
<button type="button" class="btn d-none btn-primary o_button_snooze">
Snooze
</button>
</span>
</t>
</templates>
|