~openerp-commiter/openobject-addons/trunk-extra-addons

« back to all changes in this revision

Viewing changes to account_voucher/voucher_view.xml

  • Committer: Fabien Pinckaers
  • Date: 2008-10-18 12:25:06 UTC
  • mfrom: (3293.1.15 trunk-extra-addons)
  • Revision ID: fp@tinyerp.com-20081018122506-ntv11vl641zbkklj
modifs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
 
<terp>
 
2
<openerp>
3
3
        <data>
4
4
                <record model="ir.ui.view" id="view_voucher_tree">
5
5
                        <field name="name">account.voucher.tree</field>
16
16
                                </tree>
17
17
                        </field>
18
18
                </record>
19
 
                
 
19
 
20
20
                <record model="ir.ui.view" id="view_voucher_form">
21
21
                        <field name="name">account.voucher.form</field>
22
22
                        <field name="model">account.voucher</field>
35
35
                                                        <field name="payment_ids" colspan="4" nolabel="1">
36
36
                                                                <tree string="Voucher Lines" editable="top">
37
37
                                                                        <field name="partner_id" on_change="onchange_partner(partner_id,type,parent.type)"/>
38
 
                                                                        <field name="account_id" groups="base.group_system"/>
39
 
                                                                        <field name="name" groups="base.group_system"/>
 
38
                                                                        <field name="account_id"/>
 
39
                                                                        <field name="name"/>
40
40
                                                                        <field name="ref"/>
41
41
                                                                        <field name="amount"/>
42
42
                                                                        <field name="type"/>
66
66
                        </field>
67
67
                </record>
68
68
                
69
 
                <record model="ir.actions.act_window" id="action_voucher_list">
70
 
                        <field name="name">Vouchers</field>
71
 
                        <field name="res_model">account.voucher</field>
72
 
                        <field name="view_type">form</field>
73
 
                        <field name="view_mode">tree,form</field>
74
 
                        <field name="view_id" eval="view_voucher_tree"/>
75
 
                </record>
76
 
                <menuitem name="Financial Management/Voucher Entries" 
77
 
                id="menu_action_voucher_list" action="action_voucher_list"/>
78
 
                
79
 
                <!--  Receipt Vouchers -->
80
 
                <record model="ir.actions.act_window" id="action_receipt_vou_voucher_list">
81
 
                        <field name="name">Receipt Vouchers</field>
82
 
                        <field name="res_model">account.voucher</field>
83
 
                        <field name="view_type">form</field>
84
 
                        <field name="view_mode">tree,form</field>
85
 
                        <field name="view_id" eval="view_voucher_tree"/>
86
 
                        <field name="domain">[('type','like','rec_voucher')]</field>
87
 
                        <field name="context">{'type':'rec_voucher'}</field>
88
 
                </record>
89
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers" 
90
 
                id="menu_action_receipt_vou_voucher_list" action="action_receipt_vou_voucher_list"/>
91
 
                
92
 
                <record model="ir.actions.act_window" id="action_receipt_cashreceipt_voucher_list">
93
 
                        <field name="name">Cash Receipt</field>
94
 
                        <field name="res_model">account.voucher</field>
95
 
                        <field name="view_type">form</field>
96
 
                        <field name="view_mode">tree,form</field>
97
 
                        <field name="view_id" eval="view_voucher_tree"/>
98
 
                        <field name="domain">[('type','=','rec_voucher')]</field>
99
 
                        <field name="context">{'type':'rec_voucher'}</field>
100
 
                </record>
101
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers/Cash Receipts" 
102
 
                id="menu_action_receipt_cashreceipt_voucher_list" action="action_receipt_cashreceipt_voucher_list"/>
103
 
                
104
 
                <record model="ir.actions.act_window" id="action_draft_cash_rec_voucher_form">
105
 
                        <field name="name">Cash Receipt Voucher</field>
106
 
                        <field name="res_model">account.voucher</field>
107
 
                        <field name="view_type">form</field>
108
 
                        <field name="view_mode">tree,form</field>
109
 
                        <field name="view_id" eval="view_voucher_tree"/>
110
 
                        <field name="domain">[('type','=','rec_voucher'),('state','=','draft')]</field>
111
 
                        <field name="context">{'type':'rec_voucher'}</field>
112
 
                </record>
113
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers/Cash Receipts/Draf Cash Receipt" 
114
 
                id="menu_action_draft_cash_rec_voucher_form" action="action_draft_cash_rec_voucher_form"/>
115
 
                
116
 
                <record model="ir.actions.act_window" id="action_performa_cash_rec_voucher_form">
117
 
                        <field name="name">Cash Receipt Voucher</field>
118
 
                        <field name="res_model">account.voucher</field>
119
 
                        <field name="view_type">form</field>
120
 
                        <field name="view_mode">tree,form</field>
121
 
                        <field name="view_id" eval="view_voucher_tree"/>
122
 
                        <field name="domain">[('type','=','rec_voucher'),('state','=','proforma')]</field>
123
 
                        <field name="context">{'type':'rec_voucher'}</field>
124
 
                </record>
125
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers/Cash Receipts/Pro-forma Cash Receipt" 
126
 
                id="menu_action_performa_cash_rec_voucher_form" action="action_performa_cash_rec_voucher_form"/>
127
 
                
128
 
                <record model="ir.actions.act_window" id="action_posted_cash_rec_voucher_form">
129
 
                        <field name="name">Cash Receipt Voucher</field>
130
 
                        <field name="res_model">account.voucher</field>
131
 
                        <field name="view_type">form</field>
132
 
                        <field name="view_mode">tree,form</field>
133
 
                        <field name="view_id" eval="view_voucher_tree"/>
134
 
                        <field name="domain">[('type','=','rec_voucher'),('state','=','posted')]</field>
135
 
                        <field name="context">{'type':'rec_voucher'}</field>
136
 
                </record>
137
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers/Cash Receipts/Posted Cash Receipt" 
138
 
                id="menu_action_posted_cash_rec_voucher_form" action="action_posted_cash_rec_voucher_form"/>
139
 
                
140
 
                <record model="ir.actions.act_window" id="action_cancel_cash_rec_voucher_form">
141
 
                        <field name="name">Cash Receipt Voucher</field>
142
 
                        <field name="res_model">account.voucher</field>
143
 
                        <field name="view_type">form</field>
144
 
                        <field name="view_mode">tree,form</field>
145
 
                        <field name="view_id" eval="view_voucher_tree"/>
146
 
                        <field name="domain">[('type','=','rec_voucher'),('state','=','cancel')]</field>
147
 
                        <field name="context">{'type':'rec_voucher'}</field>
148
 
                </record>
149
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers/Cash Receipts/Cancel Cash Receipt" 
150
 
                id="menu_action_cancel_cash_rec_voucher_form" action="action_cancel_cash_rec_voucher_form"/>
151
 
                
152
 
        
 
69
                <menuitem name="Financial Management/Entries/Vouchers/" />
153
70
                <record model="ir.actions.act_window" id="action_view_cash_rec_voucher_form">
154
71
                        <field name="name">Cash Receipt Voucher</field>
155
72
                        <field name="res_model">account.voucher</field>
159
76
                        <field name="domain">[('type','=','rec_voucher')]</field>
160
77
                        <field name="context">{'type':'rec_voucher'}</field>
161
78
                </record>
162
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers/Cash Receipts/New Cash Receipt" id="menu_action_view_cash_rec_voucher_form" action="action_view_cash_rec_voucher_form"/>
163
 
                
164
 
                <record model="ir.actions.act_window" id="action_receipt_bakreceipt_voucher_list">
165
 
                        <field name="name">Bank Receipt</field>
 
79
                <menuitem name="Financial Management/Entries Encoding/Voucher Entries/Cash Receipt Voucher" id="menu_action_view_cash_rec_voucher_form" action="action_view_cash_rec_voucher_form"/>
 
80
                <record model="ir.actions.act_window" id="action_view_cash_pay_voucher_form">
 
81
                        <field name="name">Cash Payment Voucher</field>
166
82
                        <field name="res_model">account.voucher</field>
167
83
                        <field name="view_type">form</field>
168
 
                        <field name="view_mode">tree,form</field>
169
 
                        <field name="view_id" eval="view_voucher_tree"/>
170
 
                        <field name="domain">[('type','=','bank_rec_voucher')]</field>
171
 
                        <field name="context">{'type':'rec_voucher'}</field>
 
84
                        <field name="view_mode">form,tree</field>
 
85
                        <field name="view_id" eval="view_voucher_form"/>
 
86
                        <field name="domain">[('type','=','pay_voucher')]</field>
 
87
                        <field name="context">{'type':'pay_voucher'}</field>
172
88
                </record>
173
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers/Bank Receipts" 
174
 
                id="menu_action_receipt_bakreceipt_voucher_list" action="action_receipt_bakreceipt_voucher_list"/>
 
89
                <menuitem name="Financial Management/Entries Encoding/Voucher Entries/Cash Payment Voucher" id="menu_action_view_cash_pay_voucher_form" action="action_view_cash_pay_voucher_form"/>
175
90
                
176
91
                <record model="ir.actions.act_window" id="action_view_bank_rec_voucher_form">
177
92
                        <field name="name">Bank Receipt Voucher</field>
182
97
                        <field name="domain">[('type','=','bank_rec_voucher')]</field>
183
98
                        <field name="context">{'type':'bank_rec_voucher'}</field>
184
99
                </record>
185
 
                <menuitem name="Financial Management/Voucher Entries/Receipt Vouchers/Bank Receipts/New Bank Receipt" id="menu_action_view_bank_rec_voucher_form" action="action_view_bank_rec_voucher_form"/>
186
 
                
187
 
                
188
 
                <!--  End Receipt Vouchers -->
189
 
                
190
 
                
191
 
                <!-- Payment Vouchers -->
192
 
                <record model="ir.actions.act_window" id="action_payments_voucher_list">
193
 
                        <field name="name">Payment Vouchers</field>
194
 
                        <field name="res_model">account.voucher</field>
195
 
                        <field name="view_type">form</field>
196
 
                        <field name="view_mode">tree,form</field>
197
 
                        <field name="view_id" eval="view_voucher_tree"/>
198
 
                        <field name="domain">[('type','like','pay_voucher')]</field>
199
 
                        <field name="context">{'type':'rec_voucher'}</field>
200
 
                </record>
201
 
                <menuitem name="Financial Management/Voucher Entries/Payment Vouchers" 
202
 
                id="menu_action_payments_voucher_list" action="action_payments_voucher_list"/>
203
 
                
204
 
                <record model="ir.actions.act_window" id="action_payments_cashpay_voucher_list">
205
 
                        <field name="name">Payment Vouchers</field>
206
 
                        <field name="res_model">account.voucher</field>
207
 
                        <field name="view_type">form</field>
208
 
                        <field name="view_mode">tree,form</field>
209
 
                        <field name="view_id" eval="view_voucher_tree"/>
210
 
                        <field name="domain">[('type','=','pay_voucher')]</field>
211
 
                        <field name="context">{'type':'rec_voucher'}</field>
212
 
                </record>
213
 
                <menuitem name="Financial Management/Voucher Entries/Payment Vouchers/Cash Payments" 
214
 
                id="menu_action_payments_cashpay_voucher_list" action="action_payments_cashpay_voucher_list"/>
215
 
                
216
 
                <record model="ir.actions.act_window" id="action_view_cash_pay_voucher_form">
217
 
                        <field name="name">Cash Payment Voucher</field>
218
 
                        <field name="res_model">account.voucher</field>
219
 
                        <field name="view_type">form</field>
220
 
                        <field name="view_mode">form,tree</field>
221
 
                        <field name="view_id" eval="view_voucher_form"/>
222
 
                        <field name="domain">[('type','=','pay_voucher')]</field>
223
 
                        <field name="context">{'type':'pay_voucher'}</field>
224
 
                </record>
225
 
                <menuitem name="Financial Management/Voucher Entries/Payment Vouchers/Cash Payments/New Cash Payment" id="menu_action_view_cash_pay_voucher_form" action="action_view_cash_pay_voucher_form"/>
226
 
        
227
 
                <record model="ir.actions.act_window" id="action_payments_bankpay_voucher_list">
228
 
                        <field name="name">Payment Vouchers</field>
229
 
                        <field name="res_model">account.voucher</field>
230
 
                        <field name="view_type">form</field>
231
 
                        <field name="view_mode">tree,form</field>
232
 
                        <field name="view_id" eval="view_voucher_tree"/>
233
 
                        <field name="domain">[('type','=','bank_pay_voucher')]</field>
234
 
                        <field name="context">{'type':'rec_voucher'}</field>
235
 
                </record>
236
 
                <menuitem name="Financial Management/Voucher Entries/Payment Vouchers/Bank Payments" 
237
 
                id="menu_action_payments_bankpay_voucher_list" action="action_payments_bankpay_voucher_list"/>
238
 
                
 
100
                <menuitem name="Financial Management/Entries Encoding/Voucher Entries/Bank Receipt Voucher" id="menu_action_view_bank_rec_voucher_form" action="action_view_bank_rec_voucher_form"/>
239
101
                <record model="ir.actions.act_window" id="action_view_bank_pay_voucher_form">
240
102
                        <field name="name">Bank Payment Voucher</field>
241
103
                        <field name="res_model">account.voucher</field>
245
107
                        <field name="domain">[('type','=','bank_pay_voucher')]</field>
246
108
                        <field name="context">{'type':'bank_pay_voucher'}</field>
247
109
                </record>
248
 
                <menuitem name="Financial Management/Voucher Entries/Payment Vouchers/Bank Payments/New Bank Payment" id="menu_action_view_bank_pay_voucher_form" action="action_view_bank_pay_voucher_form"/>
249
 
                
250
 
                <!-- End Payment Vouchers -->
251
 
                
252
 
                <!-- Other Voucher Enries -->
253
 
                <record model="ir.actions.act_window" id="action_other_voucher_list">
254
 
                        <field name="name">Other Vouchers</field>
255
 
                        <field name="res_model">account.voucher</field>
256
 
                        <field name="view_type">form</field>
257
 
                        <field name="view_mode">tree,form</field>
258
 
                        <field name="view_id" eval="view_voucher_tree"/>
259
 
                </record>
260
 
                <menuitem name="Financial Management/Voucher Entries/Other Vouchers" 
261
 
                id="menu_action_other_voucher_list" action="action_other_voucher_list"/>
262
 
                
 
110
                <menuitem name="Financial Management/Entries Encoding/Voucher Entries/Bank Payment Voucher" id="menu_action_view_bank_pay_voucher_form" action="action_view_bank_pay_voucher_form"/>
263
111
                <record model="ir.actions.act_window" id="action_view_cont_voucher_form">
264
112
                        <field name="name">Contra Voucher</field>
265
113
                        <field name="res_model">account.voucher</field>
269
117
                        <field name="domain">[('type','=','cont_voucher')]</field>
270
118
                        <field name="context">{'type':'cont_voucher'}</field>
271
119
                </record>
272
 
                <menuitem name="Financial Management/Voucher Entries/Other Vouchers/Contra Voucher" id="menu_action_view_cont_voucher_form" action="action_view_cont_voucher_form"/>
 
120
                <menuitem name="Financial Management/Entries Encoding/Voucher Entries/Contra Voucher" id="menu_action_view_cont_voucher_form" action="action_view_cont_voucher_form"/>
273
121
                <record model="ir.actions.act_window" id="action_view_jour_sale_voucher_form">
274
122
                        <field name="name">Journal Sale Voucher</field>
275
123
                        <field name="res_model">account.voucher</field>
279
127
                        <field name="domain">[('type','=','journal_sale_voucher')]</field>
280
128
                        <field name="context">{'type':'journal_sale_voucher'}</field>
281
129
                </record>
282
 
                <menuitem name="Financial Management/Voucher Entries/Other Vouchers/Journal Sale Voucher" id="menu_action_view_jour_sale_voucher_form" action="action_view_jour_sale_voucher_form"/>
 
130
                <menuitem name="Financial Management/Entries Encoding/Voucher Entries/Journal Sale Voucher" id="menu_action_view_jour_sale_voucher_form" action="action_view_jour_sale_voucher_form"/>
283
131
                <record model="ir.actions.act_window" id="action_view_jour_pur_voucher_form">
284
132
                        <field name="name">Journal Purchase Voucher</field>
285
133
                        <field name="res_model">account.voucher</field>
289
137
                        <field name="domain">[('type','=','journal_pur_voucher')]</field>
290
138
                        <field name="context">{'type':'journal_pur_voucher'}</field>
291
139
                </record>
292
 
                <menuitem name="Financial Management/Voucher Entries/Other Vouchers/Journal Purchase Voucher" id="menu_action_view_jour_pur_voucher_form" action="action_view_jour_pur_voucher_form"/>
 
140
                <menuitem name="Financial Management/Entries Encoding/Voucher Entries/Journal Purchase Voucher" id="menu_action_view_jour_pur_voucher_form" action="action_view_jour_pur_voucher_form"/>
 
141
                
 
142
                
293
143
                
294
144
                </data>
295
 
</terp>
 
 
b'\\ No newline at end of file'
 
145
</openerp>