summaryrefslogtreecommitdiff
path: root/addons/base_export/static/src/xml/base_export.xml
diff options
context:
space:
mode:
authorYogesh (OpenERP) <ysa@tinyerp.com>2011-07-07 15:31:04 +0530
committerYogesh (OpenERP) <ysa@tinyerp.com>2011-07-07 15:31:04 +0530
commit521e2891f5d536e52193e0b007b70fce0247b332 (patch)
treeb3c59313ff8ee989bbae67743a1c763152f11d49 /addons/base_export/static/src/xml/base_export.xml
parent3969cdd26560bafc79edc470d94a9ef1854441fe (diff)
[ADD] add base_export module.
bzr revid: ysa@tinyerp.com-20110707100104-3trko5x1njl1huhp
Diffstat (limited to 'addons/base_export/static/src/xml/base_export.xml')
-rw-r--r--addons/base_export/static/src/xml/base_export.xml109
1 files changed, 109 insertions, 0 deletions
diff --git a/addons/base_export/static/src/xml/base_export.xml b/addons/base_export/static/src/xml/base_export.xml
new file mode 100644
index 00000000000..4fd9c7d872e
--- /dev/null
+++ b/addons/base_export/static/src/xml/base_export.xml
@@ -0,0 +1,109 @@
+<template>
+
+ <t t-name="ExportView">
+ <button id="exportview">Export</button>
+ </t>
+
+ <t t-name="ExportTreeView">
+ <table class="view" cellspacing="5" border="0" width="100%">
+ <tr>
+ <td class="side_spacing" align="left">
+ This wizard will export all data that matches the current search criteria to a CSV file.
+ You can export all data or only the fields that can be reimported after modification.
+ </td>
+ </tr>
+ <tr>
+ <td class="side_spacing">
+ <table>
+ <tr>
+ <td class="label"><label for="import_compat">Export Type:</label></td>
+ <td>
+ <select id="import_compat" name="import_compat">
+ <option value="1">Import Compatible Export</option>
+ <option value="0">Export all Data</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="side_spacing">
+ <table class="fields-selector-export" cellspacing="5" border="0">
+ <tr>
+ <th class="oe_view_title">Available fields</th>
+ <th class="oe_view_title"></th>
+ <th class="oe_view_title">Fields to export</th>
+ </tr>
+ <tr>
+ <td class="fields-selector-left" height="400px">
+ <div id="fields_left">
+ <table class="fields-selector-export" cellspacing="5" border="0">
+ <th class="header_title"> Name </th>
+ <tr>
+ <td>
+ <table width="100%">
+ <t t-foreach="fields" t-as="field" >
+ <tr t-att-id="'treerow_' + field.id" class="row">
+ <td valign="top" align="left" style="cursor: pointer;">
+ <t t-if="(field.children).length >= 1">
+ <img t-att-id="'parentimg_' + field.id" src="/base/static/src/img/expand.gif" width="16" height="16" border="0"/>
+ </t>
+ </td>
+ <td valign="top" align="left" style="cursor: pointer;">
+ <a href="javascript: void(0)" t-att-data-field="field">
+ <t t-esc="field.string"/>
+ </a>
+ </td>
+ </tr>
+ </t>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ <td class="fields-selector-center">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr>
+ <td align="center">
+ <button id="add">Add </button>
+ </td>
+ </tr>
+ <tr>
+ <td align="center">
+ <button id="remove">Remove </button>
+ </td>
+ </tr>
+ <tr>
+ <td align="center">
+ <button id="remove_all">Remove All </button>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td class="fields-selector-right" height="400px">
+ <select name="fields" id="fields" multiple="multiple"></select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="side_spacing">
+ <table width="100%">
+ <tr>
+ <td class="imp-header" align="right">
+ <button id="cancel">Cancel </button>
+ <button id="export_to_file">Export to File </button>
+ </td>
+ <td width="5%"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </t>
+
+</template> \ No newline at end of file