diff options
| author | Vishmita <vja@tinyerp.com> | 2012-09-18 12:48:06 +0530 |
|---|---|---|
| committer | Vishmita <vja@tinyerp.com> | 2012-09-18 12:48:06 +0530 |
| commit | 7c8ffe131557f362ac515ac8390bcf310f7db8a7 (patch) | |
| tree | 47862685ec125437a38a39762045eac49b5e1842 /addons/web/static/src/xml | |
| parent | 86912a60cda92a675375deda770baac769b700bb (diff) | |
[Fix]Improve code
bzr revid: vja@tinyerp.com-20120918071806-da0yjuhby2xd1kqi
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 37d2dfab414..bc107b36746 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -629,7 +629,7 @@ <input type="checkbox" class="oe_list_record_selector"/> </th> <t t-foreach="columns" t-as="column"> - <th t-if="!column.meta and column.invisible !== '1'" t-att-data-id="column.id" + <th t-if="!column.meta and column.invisible !== '1' and !column.reorderable" t-att-data-id="column.id" t-attf-class="oe_list_header_#{column.widget or column.type} #{((options.sortable and column.tag !== 'button') ? 'oe_sortable' : null)}"> <t t-if="column.tag !== 'button'"><t t-esc="column.string"/></t> </th> @@ -682,7 +682,7 @@ <t t-foreach="columns" t-as="column"> <t t-set="number" t-value="column.type === 'integer' or column.type == 'float'"/> <t t-set="modifiers" t-value="column.modifiers_for(asData)"/> - <td t-if="!column.meta and column.invisible !== '1'" t-att-title="column.help" + <td t-if="!column.meta and column.invisible !== '1' and !column.reorderable" t-att-title="column.help" t-attf-class="oe_list_field_cell oe_list_field_#{column.widget or column.type} #{number ? 'oe_number' : ''} #{column.tag === 'button' ? 'oe-button' : ''} #{modifiers.readonly ? 'oe_readonly' : ''} #{modifiers.required ? 'oe_required' : ''}" t-att-data-field="column.id" ><t t-raw="render_cell(record, column)"/></td> |
