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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <record id="view_import_datas" model="ir.ui.view">
            <field name="name">Import Datas</field>
            <field name="model">import_data</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Import Datas">
                    <group col="8">
                        <group colspan="3">
                            <field name="config_logo" widget="image" width="220" height="130" nolabel="1" colspan="1"/>
                            <newline/>
                            <label colspan="4" width="220" string="Supported file formats: *.csv (Comma-separated values)"/>
                            <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."/>
                            <label colspan="4" width="220"/>
                        </group>
                        <separator orientation="vertical" rowspan="15"/>
                        <group colspan="4" col="4">
                            <separator string="Import Datas" colspan="4"/>
                            <newline/>
                            <field name="object" width="200"/>
                            <field name="ignore"/>
                            <field name="file" colspan="4"/>
                        </group>
                        <group colspan="8" col="8">
                            <separator string="" colspan="8"/>
                            <label colspan="6" width="220"/>
                                <button special="cancel" string="_Close" icon="gtk-cancel" />
                                <button name="import_csv" string="_Import" type="object" icon="gtk-ok"/>
                        </group>
                    </group>
                </form>
            </field>
        </record>

        <act_window name="Import Datas"
            res_model="import_data"
            src_model="import_data"
            view_mode="form"
            target="new"
            key2="client_action_multi"
            id="action_import_datas"/>

        <menuitem
        action="action_import_datas"
        id="menu_action_import_datas"
        parent="base.menu_custom"/>

    </data>
</openerp>