[IMP] don't collapse newlines in list cells
bzr revid: xmo@openerp.com-20120718133712-0pbdahv62rf0nslc
This commit is contained in:
parent
85a8641e2c
commit
f19e5ff9bc
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue