summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorTejas Tank <tta@openerp.com>2012-11-07 12:16:23 +0530
committerTejas Tank <tta@openerp.com>2012-11-07 12:16:23 +0530
commit909285bb7d4bdad5ea94665f3e413497cd853c13 (patch)
treed1b5195f3e3406c438edaf2bad8e89cb8b057795 /addons/web/static/src
parente4effd65856a4f336753103ea05127f7066b97f2 (diff)
[IMP] Listview.buttons template corrected for import button and future support to append buttons inside 'oe_list_buttons' section.
bzr revid: tta@openerp.com-20121107064623-q9oggrypyil1207w
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/xml/base.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index d4b8674430e..99af729d04f 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -648,13 +648,15 @@
</tr>
</tfoot>
</table>
-<div t-name="ListView.buttons" class="oe_list_buttons">
+<t t-name="ListView.buttons">
+ <div class="oe_list_buttons">
<t t-if="!widget.no_leaf and widget.options.action_buttons !== false and widget.options.addable and widget.is_action_enabled('create')">
<button type="button" class="oe_button oe_list_add oe_highlight">
<t t-esc="widget.options.addable"/>
</button>
</t>
-</div>
+ </div>
+</t>
<t t-name="ListView.pager">
<div class="oe_list_pager" t-att-colspan="widget.columns_count">
<t t-if="!widget.no_leaf and widget.options.pager !== false" t-call="ViewPager">