[FIX]Fixed code for select same column or imported file has same column its shows message and field will red coloration.

bzr revid: kch@tinyerp.com-20110915064753-mij2danikyv9iouh
This commit is contained in:
Kunal Chavda (OpenERP)
2011-09-15 12:17:53 +05:30
parent d7c967689a
commit 4eb0672324
3 changed files with 44 additions and 21 deletions
+1 -2
View File
@@ -1399,7 +1399,6 @@
</tr>
<tr>
<td width="100%" colspan="4">
<div id="message" style="color:red"></div>
<div id="result"></div>
</td>
</tr>
@@ -1447,7 +1446,7 @@
</tr>
<tr t-if="record=='sel'">
<td t-foreach="records.header" t-as="header">
<select id="sel_field">
<select id="sel_field" class="select_fld">
<option selected="selected" value=""></option>
<option t-foreach="records.sel" t-as="selection" t-att="{'selected': header[0] === selection ? 'selected' : null}"
t-att-value="selection"><t t-esc="selection"/></option>