[IMP] mis_builder: do not use th and label tag
This was indeed putting all lignes in bold, and I want to leave bold as a way for user to highllight lines or cells.pull/86/head
parent
8c7ffb8594
commit
ce9d9ad364
|
@ -1,4 +1,4 @@
|
|||
.openerp .rallign {
|
||||
.openerp .ralign {
|
||||
text-align: right;
|
||||
}
|
||||
.openerp a.mis_builder {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<tr class="oe_list_header_columns">
|
||||
<th class="oe_list_header_char"></th>
|
||||
<t t-foreach="widget.mis_report_data.header" t-as="h">
|
||||
<th t-foreach="h_value.cols" t-as="header" class="oe_list_header_char rallign">
|
||||
<th t-foreach="h_value.cols" t-as="header" class="oe_list_header_char ralign">
|
||||
<div>
|
||||
<t t-esc="header.name"/>
|
||||
</div>
|
||||
|
@ -19,15 +19,15 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr t-foreach="widget.mis_report_data.content" t-as="c">
|
||||
<th t-att="{'style': c_value.default_style}">
|
||||
<td t-att="{'style': c_value.default_style}">
|
||||
<div>
|
||||
<t t-esc="c_value.kpi_name"/>
|
||||
</div>
|
||||
</th>
|
||||
</td>
|
||||
<t t-foreach="c_value.cols" t-as="value">
|
||||
<td class="rallign open_account_move" t-att="{'style': c_value.default_style + ';' + value_value.style}">
|
||||
<label t-att="{'title': value_value.val_c}" class=" oe_form_label_help oe_align_right">
|
||||
<a t-att="{'style': c_value.default_style + ';' + value_value.style}"
|
||||
<td class="ralign open_account_move" t-att="{'style': c_value.default_style}">
|
||||
<div t-att="{'style': value_value.style}">
|
||||
<a t-att="{'title': value_value.val_c}"
|
||||
class="mis_builder"
|
||||
href="javascript:void(0)"
|
||||
t-att-data-val="JSON.stringify(value_value.val)"
|
||||
|
@ -36,7 +36,7 @@
|
|||
t-att-data-period-name="JSON.stringify(value_value.period_name)">
|
||||
<t t-esc="value_value.val_r"/>
|
||||
</a>
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
</t>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue