[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
This commit is contained in:
Tejas Tank 2012-11-07 12:16:23 +05:30
parent e4effd6585
commit 909285bb7d
1 changed files with 4 additions and 2 deletions

View File

@ -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">