From b987405134e09aeacabbeeeb3edbdf3fe64ce065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 18 Mar 2014 10:29:55 +0100 Subject: [IMP] Sidebar: added a new section for the sidebar, the buttons section. When having actions to display in the 'more' menu and if the action id is present in the context, get the action out of the menu to display a specific red button. This is used to highlight some specific action to do in a given flow. For example when going to a list view from a button, with an action that should be the next one to perform, it allows to display the button once at least one record is selected. bzr revid: tde@openerp.com-20140318092955-vym3d7xkl3mmf62i --- addons/web/static/src/xml/base.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 7ba06b69095..6f1c98cdda2 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -599,10 +599,16 @@
- + + +
  • -- cgit v1.2.3 From 2f0b59be37c2878aa3efcaa075a972eb80300469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 20 Mar 2014 18:39:07 +0100 Subject: [IMP] list_view: allow displaying string-based buttons in list view and not only img-based buttons. bzr revid: tde@openerp.com-20140320173907-5b02atnispbznqmj --- addons/web/static/src/xml/base.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 6f1c98cdda2..ded573f2af3 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -785,11 +785,17 @@ + + t-att-class="disabled ? 'oe_list_button_disabled btn_img' : 'btn_img'"> + +