[IMP] don't collapse newlines in list cells

bzr revid: xmo@openerp.com-20120718133712-0pbdahv62rf0nslc
This commit is contained in:
Xavier Morel 2012-07-18 15:37:12 +02:00
parent 85a8641e2c
commit f19e5ff9bc
3 changed files with 4 additions and 3 deletions

View File

@ -2256,6 +2256,7 @@
}
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell {
padding: 3px 6px;
white-space: pre-line;
}
.openerp .oe_list_content > tbody > tr > td, .openerp .oe_list_content > tbody > tr > th {
line-height: 18px;

View File

@ -1784,6 +1784,7 @@ $sheet-max-width: 860px
border-top: 1px solid #ddd
> td.oe_list_field_cell
padding: 3px 6px
white-space: pre-line
> td, > th
line-height: 18px
> button

View File

@ -657,9 +657,8 @@
<t t-set="modifiers" t-value="column.modifiers_for(asData)"/>
<td t-if="!column.meta and column.invisible !== '1'" 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' : ''}"
t-att-data-field="column.id">
<t t-raw="render_cell(record, column)"/>
</td>
t-att-data-field="column.id"
><t t-raw="render_cell(record, column)"/></td>
</t>
<td t-if="options.deletable" class='oe_list_record_delete' width="1">
<button type="button" name="delete" class="oe_i">d</button>