diff options
Diffstat (limited to 'addons/stock/static/src/xml/popover_widget.xml')
| -rw-r--r-- | addons/stock/static/src/xml/popover_widget.xml | 19 |
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> |
