~opencrea/+junk/aprobio

« back to all changes in this revision

Viewing changes to module_prototyper/wizard/module_prototyper_module_export_view.xml

  • Committer: joannes
  • Date: 2017-05-17 09:40:42 UTC
  • Revision ID: joannes@debian-20170517094042-47q3j6on72w2h1il
community module

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<odoo>
 
3
 
 
4
    <record id="view_module_export_wizard" model="ir.ui.view">
 
5
        <field name="name">Export Module</field>
 
6
        <field name="model">module_prototyper.module.export</field>
 
7
        <field name="arch" type="xml">
 
8
            <form string="Export Module">
 
9
                <field name="name" invisible="1"/>
 
10
                <field name="state" invisible="1"/>
 
11
                <group string="Export Settings" states="choose" col="6">
 
12
                    <group colspan="2">
 
13
                        <field name="api_version" widget="selection"/>
 
14
                    </group>
 
15
                    <group colspan="4">
 
16
                    </group>
 
17
                </group>
 
18
                <div states="get">
 
19
                    <h2>Export Complete</h2>
 
20
                    <p>Here is the exported module: <field name="data" readonly="1" filename="name"/></p>
 
21
                </div>
 
22
                <footer states="choose">
 
23
                    <button name="action_export" string="Export" type="object" class="oe_highlight"/> or
 
24
                    <button special="cancel" string="Cancel" type="object" class="oe_link"/>
 
25
                </footer>
 
26
                <footer states="get">
 
27
                    <button special="cancel" string="Close" type="object"/>
 
28
                </footer>
 
29
            </form>
 
30
        </field>
 
31
    </record>
 
32
 
 
33
    <record id="button_module_export_action" model="ir.actions.act_window">
 
34
        <field name="name">Export Module</field>
 
35
        <field name="res_model">module_prototyper.module.export</field>
 
36
        <field name="view_type">form</field>
 
37
        <field name="view_id" ref="view_module_export_wizard"/>
 
38
        <field name="target">new</field>
 
39
    </record>
 
40
 
 
41
</odoo>