diff options
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 0ea257e7986..1fe4d028db4 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1135,6 +1135,7 @@ </t> <option value="_actions">-- Actions --</option> <option value="save_filter">Save Filter</option> + <option value="add_to_dashboard">Add to Dashboard</option> <option value="manage_filters">Manage Filters</option> </t> <t t-name="SearchView.managed-filters.add"> @@ -1144,6 +1145,16 @@ <p>(Any existing filter with the same name will be replaced)</p> </div> </t> +<t t-name="SearchView.add_to_dashboard"> + <div class="oe_forms"> + <p><b>Select Dashboard to add this filter to:</b></p> + <select style="width: 100%; margin-right: 1em;"> + <option t-foreach="dashboards" t-as="menu" t-att-value="menu.id" t-att-selected="(menu.id == selected_menu_id) || undefined"><t t-esc="menu.name"/></option> + </select> + <p><b>Title of new Dashboard item:</b></p> + <input type="text" style="width: 100%; margin-right: 1em;"/> + </div> +</t> <t t-name="SearchView.render_lines"> <table class="oe-searchview-render-line" border="0" cellspacing="0" cellpadding="0" t-foreach="lines" t-as="line"> @@ -1711,4 +1722,4 @@ <t t-name="EmptyComponent"> <div></div> </t> -</templates>
\ No newline at end of file +</templates> |
