From d7c967689a7372772f1fe67415e2149a1d3f1aae Mon Sep 17 00:00:00 2001 From: "Kunal Chavda (OpenERP)" Date: Tue, 13 Sep 2011 15:07:56 +0530 Subject: [PATCH] [FIX]Fixed code for removing unnecessary t-attributes and tabels. bzr revid: kch@tinyerp.com-20110913093756-2z6g8p059lgjxpxq --- addons/web/static/src/js/data_import.js | 1 + addons/web/static/src/xml/base.xml | 169 +++++++++--------------- 2 files changed, 66 insertions(+), 104 deletions(-) diff --git a/addons/web/static/src/js/data_import.js b/addons/web/static/src/js/data_import.js index 6d8ed93aafe..11e62983c47 100644 --- a/addons/web/static/src/js/data_import.js +++ b/addons/web/static/src/js/data_import.js @@ -111,6 +111,7 @@ openerp.web.DataImport = openerp.web.Dialog.extend({ $(".ui-button-text:contains('Import File')").parent().attr("disabled",true); }else{ $(this).css('background-color',''); + $(".ui-button-text:contains('Import File')").parent().attr("disabled",false); } }); }, diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index ce9f7aad562..e103ea0dd43 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1371,80 +1371,62 @@
- +
- + + + - + + + -
- - - - - - - -
-

1. Import a .CSV file

-
- Select a .CSV file to import. If you need a sample of file to import, - you should use the export tool with the "Import Compatible" option. -
+
+

1. Import a .CSV file

+
+ Select a .CSV file to import. If you need a sample of file to import, + you should use the export tool with the "Import Compatible" option.
- - - - - -
- -
+ +
+
+

2. Check your file format

-
- + + + + - - -
+
+
+
+
+ CSV Options + - + + + + + + + + +
-

2. Check your file format

+
+
-
-
-
- CSV Options - - - - - - - - - - - - - -
- -
-
- -
-
+
@@ -1452,52 +1434,31 @@ - - The import failed due to: - - Here is a preview of the file we could not import: -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
+

The import failed due to:

+ +

Here is a preview of the file we could not import:

+
+
+ + + + + + + + + + + + +
+ +