summaryrefslogtreecommitdiff
path: root/addons/stock/static/src/xml/popover_widget.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/popover_widget.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/stock/static/src/xml/popover_widget.xml')
-rw-r--r--addons/stock/static/src/xml/popover_widget.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/addons/stock/static/src/xml/popover_widget.xml b/addons/stock/static/src/xml/popover_widget.xml
new file mode 100644
index 00000000..d5c50356
--- /dev/null
+++ b/addons/stock/static/src/xml/popover_widget.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<templates id="template" xml:space="preserve">
+
+ <t t-name="stock.popoverButton">
+ <a tabindex="0" t-attf-class="p-1 fa #{ icon || 'fa-info-circle'} #{ color || 'text-primary'}"/>
+ </t>
+
+ <div t-name="stock.popoverContent">
+ <t t-esc="msg"/>
+ </div>
+
+ <div t-name="stock.PopoverStockRescheduling">
+ <p>Preceding operations
+ <t t-foreach="late_elements" t-as="late_element">
+ <a t-esc="late_element.name" href="#" t-att-element-id="late_element.id" t-att-element-model="late_element.model"/>,
+ </t>
+ planned on <t t-esc="delay_alert_date"/>.</p>
+ </div>
+</templates>