summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-09-22 17:27:04 +0200
committerXavier Morel <xmo@openerp.com>2011-09-22 17:27:04 +0200
commit6a931ae10496fd969d12f4bc2e62cb713471c2fc (patch)
treebb9a2cc1a180278cfc87099ea11ff364e6064c9c /addons/web/static/src/xml/base.xml
parent2187a3e3ddecbf2b95b9c29d68131472d6395e3a (diff)
[ADD] checkbox for the user to specify that his file does *not* have column headers
bzr revid: xmo@openerp.com-20110922152704-lu36gl07ijnkd3sl
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 3245ec43e8f..aa83ed4e5b2 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1427,6 +1427,14 @@
<legend style="cursor:pointer;">CSV Options</legend>
<table style="display:none">
<tr>
+ <td colspan="4">
+ <label for="file_has_headers">Does your file have titles?</label>
+ <input type="checkbox" checked="checked"
+ id="file_has_headers"
+ name="file_has_headers"/>
+ </td>
+ </tr>
+ <tr>
<td><label>Separator:</label></td>
<td><input type="text" name="csvsep" id="csv_separator" value=","/></td>
<td><label>Delimiter:</label></td>
@@ -1441,7 +1449,7 @@
</select>
</td>
<td><label>Lines to skip:</label></td>
- <td><input type="text" name="csvskip" id="csv_skip" value="1"/></td>
+ <td><input type="text" name="csvskip" id="csv_skip" value="0"/></td>
</tr>
</table>
</fieldset>