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

« back to all changes in this revision

Viewing changes to vertical_integration/vertical_integration_wizard.xml

  • Committer: Olivier DOSSMANN
  • Date: 2014-03-31 09:31:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2086.
  • Revision ID: od@tempo-consulting.fr-20140331093146-tgvxnly1kc1hbv1s
UF-2171 [ADD] Analytic distribution reset button for recurring models

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<openerp>
 
3
    <data>
 
4
 
 
5
    <!-- OCG export -->
 
6
 
 
7
        <record id="hq_export_ocg_view" model="ir.ui.view">
 
8
            <field name="name">Export to HQ system (OCG)</field>
 
9
            <field name="model">wizard.hq.report.ocg</field>
 
10
            <field name="type">form</field>
 
11
            <field name="arch" type="xml">
 
12
            <form string="Export to HQ system">
 
13
                <field name="instance_id" domain="[('level', '=', 'coordo')]"/>
 
14
                <field name="fiscalyear_id"/>
 
15
                <field name="period_id" domain="[('fiscalyear_id', '=', fiscalyear_id), ('state', '&lt;&gt;', 'created')]"/>
 
16
                <newline/>
 
17
                <button icon="terp-camera_test" string="Export" name="button_create_report" type="object" default_focus="1"/>
 
18
            </form>
 
19
            </field>
 
20
        </record>
 
21
 
 
22
        <record id="action_hq_export_ocg" model="ir.actions.act_window">
 
23
            <field name="name">Export to HQ system (OCG)</field>
 
24
            <field name="type">ir.actions.act_window</field>
 
25
            <field name="res_model">wizard.hq.report.ocg</field>
 
26
            <field name="view_type">form</field>
 
27
            <field name="view_mode">form</field>
 
28
            <field name="view_id" ref="hq_export_ocg_view"/>
 
29
            <field name="target">new</field>
 
30
        </record>
 
31
 
 
32
        <menuitem parent="account.menu_finance_generic_reporting"
 
33
            action="action_hq_export_ocg"
 
34
            id="menu_action_hq_export_ocg"  sequence="10"/>
 
35
 
 
36
    <!-- OCA export -->
 
37
 
 
38
        <record id="hq_export_oca_view" model="ir.ui.view">
 
39
            <field name="name">Export to HQ system (OCA)</field>
 
40
            <field name="model">wizard.hq.report.oca</field>
 
41
            <field name="type">form</field>
 
42
            <field name="arch" type="xml">
 
43
            <form string="Export to HQ system">
 
44
                <field name="instance_id" domain="[('level', '=', 'coordo')]"/>
 
45
                <field name="fiscalyear_id"/>
 
46
                <field name="period_id" domain="[('fiscalyear_id', '=', fiscalyear_id), ('state', 'in', ['mission-closed', 'done'])]"/>
 
47
                <newline/>
 
48
                <button icon="terp-camera_test" string="Export" name="button_create_report" type="object" default_focus="1"/>
 
49
            </form>
 
50
            </field>
 
51
        </record>
 
52
 
 
53
        <record id="action_hq_export_oca" model="ir.actions.act_window">
 
54
            <field name="name">Export to HQ system (OCA)</field>
 
55
            <field name="type">ir.actions.act_window</field>
 
56
            <field name="res_model">wizard.hq.report.oca</field>
 
57
            <field name="view_type">form</field>
 
58
            <field name="view_mode">form</field>
 
59
            <field name="view_id" ref="hq_export_oca_view"/>
 
60
            <field name="target">new</field>
 
61
        </record>
 
62
 
 
63
        <menuitem parent="account.menu_finance_generic_reporting"
 
64
            action="action_hq_export_oca"
 
65
            id="menu_action_hq_export_oca"  sequence="20"/>
 
66
 
 
67
    <!-- OCB export -->
 
68
 
 
69
        <record id="ocb_export_wizard" model="ir.ui.view">
 
70
            <field name="name">Export to HQ system (OCB)</field>
 
71
            <field name="model">ocb.export.wizard</field>
 
72
            <field name="type">form</field>
 
73
            <field name="arch" type="xml">
 
74
            <form string="Export to HQ system">
 
75
                <field name="instance_id" domain="[('level', '=', 'coordo')]"/>
 
76
                <field name="fiscalyear_id"/>
 
77
                <field name="period_id" domain="[('fiscalyear_id', '=', fiscalyear_id)]"/>
 
78
                <field name="selection"/>
 
79
                <group colspan="6" col="4">
 
80
                    <label string="" colspan="2"/>
 
81
                    <button special="cancel" string="Cancel" colspan="1" icon="gtk-cancel"/>
 
82
                    <button icon="terp-camera_test" string="Export" name="button_export" type="object" default_focus="1" colspan="1"/>
 
83
                </group>
 
84
            </form>
 
85
            </field>
 
86
        </record>
 
87
 
 
88
        <record id="action_hq_export_ocb" model="ir.actions.act_window">
 
89
            <field name="name">Export to HQ system (OCB)</field>
 
90
            <field name="type">ir.actions.act_window</field>
 
91
            <field name="res_model">ocb.export.wizard</field>
 
92
            <field name="view_type">form</field>
 
93
            <field name="view_mode">form</field>
 
94
            <field name="view_id" ref="ocb_export_wizard"/>
 
95
            <field name="target">new</field>
 
96
        </record>
 
97
 
 
98
        <menuitem parent="account.menu_finance_generic_reporting"
 
99
            action="action_hq_export_ocb"
 
100
            id="menu_action_hq_export_ocb"  sequence="30"/>
 
101
 
 
102
    <!-- OCB matching export -->
 
103
 
 
104
        <record id="ocb_matching_export_wizard" model="ir.ui.view">
 
105
            <field name="name">OCB matching export</field>
 
106
            <field name="model">ocb.matching.export.wizard</field>
 
107
            <field name="type">form</field>
 
108
            <field name="arch" type="xml">
 
109
            <form string="OCB matching export">
 
110
                <field name="instance_id" domain="[('level', '=', 'coordo')]"/>
 
111
                <group colspan="6" col="4">
 
112
                    <label string="" colspan="2"/>
 
113
                    <button special="cancel" string="Cancel" colspan="1" icon="gtk-cancel"/>
 
114
                    <button icon="terp-camera_test" string="Export" name="button_export" type="object" default_focus="1" colspan="1"/>
 
115
                </group>
 
116
            </form>
 
117
            </field>
 
118
        </record>
 
119
 
 
120
        <record id="action_hq_ocb_matching_export" model="ir.actions.act_window">
 
121
            <field name="name">OCB matching export</field>
 
122
            <field name="type">ir.actions.act_window</field>
 
123
            <field name="res_model">ocb.matching.export.wizard</field>
 
124
            <field name="view_type">form</field>
 
125
            <field name="view_mode">form</field>
 
126
            <field name="view_id" ref="ocb_matching_export_wizard"/>
 
127
            <field name="target">new</field>
 
128
        </record>
 
129
 
 
130
        <menuitem parent="account.menu_finance_generic_reporting"
 
131
            action="action_hq_ocb_matching_export"
 
132
            id="menu_action_hq_ocb_matching_export" sequence="40"/>
 
133
 
 
134
    </data>
 
135
</openerp>