~unifield-team/unifield-wm/us-826

154.5.1 by jf
Import datas
1
<?xml version="1.0" encoding="utf-8"?>
2
<openerp>
3
    <data>
4
5
        <record id="view_import_datas" model="ir.ui.view">
6
            <field name="name">Import Datas</field>
7
            <field name="model">import_data</field>
8
            <field name="type">form</field>
9
            <field name="arch" type="xml">
10
                <form string="Import Datas">
11
                    <group col="8">
12
                        <group colspan="3">
13
                            <field name="config_logo" widget="image" width="220" height="130" nolabel="1" colspan="1"/>
14
                            <newline/>
15
                            <label colspan="4" width="220" string="Supported file formats: *.csv (Comma-separated values)"/>
16
                            <label colspan="4" width="220" string="Please double-check that the file encoding is set to UTF-8 (sometimes called Unicode) when the translator exports it."/>
17
                            <label colspan="4" width="220"/>
18
                        </group>
19
                        <separator orientation="vertical" rowspan="15"/>
20
                        <group colspan="4" col="4">
21
                            <separator string="Import Datas" colspan="4"/>
22
                            <newline/>
23
                            <field name="object" width="200"/>
24
                            <field name="ignore"/>
25
                            <field name="file" colspan="4"/>
26
                        </group>
27
                        <group colspan="8" col="8">
28
                            <separator string="" colspan="8"/>
29
                            <label colspan="6" width="220"/>
30
                                <button special="cancel" string="_Close" icon="gtk-cancel" />
31
                                <button name="import_csv" string="_Import" type="object" icon="gtk-ok"/>
32
                        </group>
33
                    </group>
34
                </form>
35
            </field>
36
        </record>
37
38
        <act_window name="Import Datas"
39
            res_model="import_data"
40
            src_model="import_data"
41
            view_mode="form"
42
            target="new"
43
            key2="client_action_multi"
44
            id="action_import_datas"/>
45
46
        <menuitem
47
        action="action_import_datas"
48
        id="menu_action_import_datas"
49
        parent="base.menu_custom"/>
50
51
    </data>
52
</openerp>