summaryrefslogtreecommitdiff
path: root/addons/stock/static/src/xml/stock_orderpoint.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/stock/static/src/xml/stock_orderpoint.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/stock/static/src/xml/stock_orderpoint.xml')
-rw-r--r--addons/stock/static/src/xml/stock_orderpoint.xml50
1 files changed, 50 insertions, 0 deletions
diff --git a/addons/stock/static/src/xml/stock_orderpoint.xml b/addons/stock/static/src/xml/stock_orderpoint.xml
new file mode 100644
index 00000000..a9155181
--- /dev/null
+++ b/addons/stock/static/src/xml/stock_orderpoint.xml
@@ -0,0 +1,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 &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
+ <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>