diff options
| author | Raphael Collet <rco@openerp.com> | 2012-09-04 09:41:45 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-09-04 09:41:45 +0200 |
| commit | b203377994ff51231a632f5b940c14482b9c3206 (patch) | |
| tree | bbc35a4e2c1ef8d6d14811d5dae0e72ee6c3b44d /addons/web/static/src/xml/base.xml | |
| parent | 00b8441f0a71547586499ab517fe8c4ce476a488 (diff) | |
[IMP] in list views: hide drag-n-drop handle and trash can with css classes
bzr revid: rco@openerp.com-20120904074145-5mefinpkz0pl0qyb
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 3bee6eebcc5..7c135ad047c 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -635,7 +635,7 @@ <t t-if="column.tag !== 'button'"><t t-esc="column.string"/></t> </th> </t> - <th t-if="options.deletable and _is_action_enabled('delete')" width="13px"/> + <th t-if="options.deletable" class="oe_list_header_delete" width="13px"/> </tr> </thead> <tfoot> @@ -644,7 +644,7 @@ <td t-foreach="aggregate_columns" t-as="column" class="oe_list_footer oe_number" t-att-data-field="column.id" t-att-title="column.label"> </td> - <td t-if="options.deletable and _is_action_enabled('delete')"/> + <td t-if="options.deletable"/> </tr> </tfoot> </table> @@ -691,7 +691,7 @@ t-att-data-field="column.id" ><t t-raw="render_cell(record, column)"/></td> </t> - <td t-if="options.deletable and view._is_action_enabled('delete')" class='oe_list_record_delete' width="13px"> + <td t-if="options.deletable" class='oe_list_record_delete' width="13px"> <button type="button" name="delete" class="oe_i">d</button> </td> </tr> |
