[IMP] Account: Generic Chart Of Account modify and misc changes
[odoo/odoo.git] / addons / account / data / account_data2.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data noupdate="1">
4
5         <!--
6         Payment term
7         -->
8         <record id="account_payment_term" model="account.payment.term">
9             <field name="name">30 Days End of Month</field>
10         </record>
11         <record id="account_payment_term_line" model="account.payment.term.line">
12             <field name="name">30 Days End of Month</field>
13             <field name="value">balance</field>
14             <field eval="30" name="days"/>
15             <field eval="-1" name="days2"/>
16             <field eval="account_payment_term" name="payment_id"/>
17         </record>
18
19         <!--
20         Account Journal View
21         -->
22         <record id="account_journal_bank_view" model="account.journal.view">
23             <field name="name">Bank/Cash Journal View</field>
24         </record>
25         <record id="bank_col1" model="account.journal.column">
26             <field name="view_id" ref="account_journal_bank_view"/>
27             <field name="name">Date</field>
28             <field name="field">date</field>
29             <field eval="True" name="required"/>
30             <field eval="1" name="sequence"/>
31         </record>
32         <record id="bank_col2" model="account.journal.column">
33             <field name="view_id" ref="account_journal_bank_view"/>
34             <field name="name">N. Piece</field>
35             <field name="field">move_id</field>
36             <field eval="False" name="required"/>
37             <field eval="2" name="sequence"/>
38         </record>
39         <record id="bank_col7" model="account.journal.column">
40             <field name="view_id" ref="account_journal_bank_view"/>
41             <field name="name">Name</field>
42             <field name="field">name</field>
43             <field eval="3" name="sequence"/>
44             <field eval="True" name="required"/>
45         </record>
46         <record id="bank_col4" model="account.journal.column">
47             <field name="view_id" ref="account_journal_bank_view"/>
48             <field name="name">Statement</field>
49             <field name="field">statement_id</field>
50             <field eval="4" name="sequence"/>
51         </record>
52         <record id="bank_col6" model="account.journal.column">
53             <field name="view_id" ref="account_journal_bank_view"/>
54             <field name="name">Partner</field>
55             <field name="field">partner_id</field>
56             <field eval="5" name="sequence"/>
57         </record>
58         <record id="bank_col5" model="account.journal.column">
59             <field name="view_id" ref="account_journal_bank_view"/>
60             <field name="name">Account</field>
61             <field name="field">account_id</field>
62             <field eval="True" name="required"/>
63             <field eval="6" name="sequence"/>
64         </record>
65         <record id="bank_col9" model="account.journal.column">
66             <field name="view_id" ref="account_journal_bank_view"/>
67             <field name="name">Debit</field>
68             <field name="field">debit</field>
69             <field eval="10" name="sequence"/>
70         </record>
71         <record id="bank_col10" model="account.journal.column">
72             <field name="view_id" ref="account_journal_bank_view"/>
73             <field name="name">Credit</field>
74             <field name="field">credit</field>
75             <field eval="11" name="sequence"/>
76         </record>
77         <record id="bank_col3" model="account.journal.column">
78             <field name="view_id" ref="account_journal_bank_view"/>
79             <field name="name">Ref</field>
80             <field name="field">ref</field>
81             <field eval="7" name="sequence"/>
82         </record>
83         <record id="bank_col23" model="account.journal.column">
84             <field name="view_id" ref="account_journal_bank_view"/>
85             <field name="name">State</field>
86             <field name="field">state</field>
87             <field eval="14" name="sequence"/>
88         </record>
89         <record id="bank_col20" model="account.journal.column">
90             <field name="view_id" ref="account_journal_bank_view"/>
91             <field name="name">Reconcile</field>
92             <field name="field">reconcile_id</field>
93             <field eval="20" name="sequence"/>
94         </record>
95
96         <record id="account_journal_bank_view_multi" model="account.journal.view">
97             <field name="name">Bank/Cash Journal (Multi-Currency) View</field>
98         </record>
99         <record id="bank_col1_multi" model="account.journal.column">
100             <field name="view_id" ref="account_journal_bank_view_multi"/>
101             <field name="name">Date</field>
102             <field name="field">date</field>
103             <field eval="True" name="required"/>
104             <field eval="1" name="sequence"/>
105         </record>
106         <record id="bank_col2_multi" model="account.journal.column">
107             <field name="view_id" ref="account_journal_bank_view_multi"/>
108             <field name="name">N. Piece</field>
109             <field name="field">move_id</field>
110             <field eval="False" name="required"/>
111             <field eval="2" name="sequence"/>
112         </record>
113         <record id="bank_col7_multi" model="account.journal.column">
114             <field name="view_id" ref="account_journal_bank_view_multi"/>
115             <field name="name">Name</field>
116             <field name="field">name</field>
117             <field eval="3" name="sequence"/>
118             <field eval="True" name="required"/>
119         </record>
120         <record id="bank_col4_multi" model="account.journal.column">
121             <field name="view_id" ref="account_journal_bank_view_multi"/>
122             <field name="name">Statement</field>
123             <field name="field">statement_id</field>
124             <field eval="4" name="sequence"/>
125         </record>
126         <record id="bank_col6_multi" model="account.journal.column">
127             <field name="view_id" ref="account_journal_bank_view_multi"/>
128             <field name="name">Partner</field>
129             <field name="field">partner_id</field>
130             <field eval="5" name="sequence"/>
131         </record>
132         <record id="bank_col5_multi" model="account.journal.column">
133             <field name="view_id" ref="account_journal_bank_view_multi"/>
134             <field name="name">Account</field>
135             <field name="field">account_id</field>
136             <field eval="True" name="required"/>
137             <field eval="6" name="sequence"/>
138         </record>
139         <record id="bank_col17_multi" model="account.journal.column">
140             <field name="view_id" ref="account_journal_bank_view_multi"/>
141             <field name="name">Currency Amt.</field>
142             <field name="field">amount_currency</field>
143             <field eval="8" name="sequence"/>
144         </record>
145         <record id="bank_col18_multi" model="account.journal.column">
146             <field name="view_id" ref="account_journal_bank_view_multi"/>
147             <field name="name">Currency</field>
148             <field name="field">currency_id</field>
149             <field eval="9" name="sequence"/>
150         </record>
151         <record id="bank_col9_multi" model="account.journal.column">
152             <field name="view_id" ref="account_journal_bank_view_multi"/>
153             <field name="name">Debit</field>
154             <field name="field">debit</field>
155             <field eval="10" name="sequence"/>
156         </record>
157         <record id="bank_col10_multi" model="account.journal.column">
158             <field name="view_id" ref="account_journal_bank_view_multi"/>
159             <field name="name">Credit</field>
160             <field name="field">credit</field>
161             <field eval="11" name="sequence"/>
162         </record>
163         <record id="bank_col3_multi" model="account.journal.column">
164             <field name="view_id" ref="account_journal_bank_view_multi"/>
165             <field name="name">Ref</field>
166             <field name="field">ref</field>
167             <field eval="7" name="sequence"/>
168         </record>
169         <record id="bank_col23_multi" model="account.journal.column">
170             <field name="view_id" ref="account_journal_bank_view_multi"/>
171             <field name="name">State</field>
172             <field name="field">state</field>
173             <field eval="16" name="sequence"/>
174         </record>
175         <record id="bank_col20_multi" model="account.journal.column">
176             <field name="view_id" ref="account_journal_bank_view_multi"/>
177             <field name="name">Reconcile</field>
178             <field name="field">reconcile_id</field>
179             <field eval="20" name="sequence"/>
180         </record>
181
182
183         <record id="account_journal_view" model="account.journal.view">
184             <field name="name">Journal View</field>
185         </record>
186         <record id="journal_col1" model="account.journal.column">
187             <field name="view_id" ref="account_journal_view"/>
188             <field name="name">Date</field>
189             <field name="field">date</field>
190             <field eval="True" name="required"/>
191             <field eval="1" name="sequence"/>
192         </record>
193         <record id="journal_col2" model="account.journal.column">
194             <field name="view_id" ref="account_journal_view"/>
195             <field name="name">N. Piece</field>
196             <field name="field">move_id</field>
197             <field eval="False" name="required"/>
198             <field eval="2" name="sequence"/>
199         </record>
200         <record id="journal_col3" model="account.journal.column">
201             <field name="view_id" ref="account_journal_view"/>
202             <field name="name">Ref</field>
203             <field name="field">ref</field>
204             <field eval="3" name="sequence"/>
205         </record>
206         <record id="journal_col5" model="account.journal.column">
207             <field name="view_id" ref="account_journal_view"/>
208             <field name="name">Partner</field>
209             <field name="field">partner_id</field>
210             <field eval="4" name="sequence"/>
211         </record>
212         <record id="journal_col4" model="account.journal.column">
213             <field name="view_id" ref="account_journal_view"/>
214             <field name="name">Account</field>
215             <field name="field">account_id</field>
216             <field eval="True" name="required"/>
217             <field eval="5" name="sequence"/>
218         </record>
219         <record id="journal_col6" model="account.journal.column">
220             <field name="view_id" ref="account_journal_view"/>
221             <field name="name">Name</field>
222             <field name="field">name</field>
223             <field eval="6" name="sequence"/>
224             <field eval="True" name="required"/>
225         </record>
226         <record id="journal_col8" model="account.journal.column">
227             <field name="view_id" ref="account_journal_view"/>
228             <field name="name">Debit</field>
229             <field name="field">debit</field>
230             <field eval="8" name="sequence"/>
231         </record>
232         <record id="journal_col9" model="account.journal.column">
233             <field name="view_id" ref="account_journal_view"/>
234             <field name="name">Credit</field>
235             <field name="field">credit</field>
236             <field eval="9" name="sequence"/>
237         </record>
238         <record id="journal_col11" model="account.journal.column">
239             <field name="view_id" ref="account_journal_view"/>
240             <field name="name">Analytic Account</field>
241             <field name="field">analytic_account_id</field>
242             <field eval="11" name="sequence"/>
243         </record>
244         <record id="journal_col24" model="account.journal.column">
245             <field name="view_id" ref="account_journal_view"/>
246             <field name="name">State</field>
247             <field name="field">state</field>
248             <field eval="14" name="sequence"/>
249         </record>
250         
251         
252         <record id="account_sp_journal_view" model="account.journal.view">
253             <field name="name">Sale/Purchase Journal View</field>
254         </record>
255         <record id="sp_journal_col1" model="account.journal.column">
256             <field name="view_id" ref="account_sp_journal_view"/>
257             <field name="name">Date</field>
258             <field name="field">date</field>
259             <field eval="True" name="required"/>
260             <field eval="1" name="sequence"/>
261         </record>
262         <record id="sp_journal_col2" model="account.journal.column">
263             <field name="view_id" ref="account_sp_journal_view"/>
264             <field name="name">N. Piece</field>
265             <field name="field">move_id</field>
266             <field eval="False" name="required"/>
267             <field eval="2" name="sequence"/>
268         </record>
269         <record id="sp_journal_col3" model="account.journal.column">
270             <field name="view_id" ref="account_sp_journal_view"/>
271             <field name="name">Ref</field>
272             <field name="field">ref</field>
273             <field eval="3" name="sequence"/>
274         </record>
275         <record id="sp_journal_col4" model="account.journal.column">
276             <field name="view_id" ref="account_sp_journal_view"/>
277             <field name="name">Account</field>
278             <field name="field">account_id</field>
279             <field eval="True" name="required"/>
280             <field eval="5" name="sequence"/>
281         </record>
282         <record id="sp_journal_col5" model="account.journal.column">
283             <field name="view_id" ref="account_sp_journal_view"/>
284             <field name="name">Partner</field>
285             <field name="field">partner_id</field>
286             <field eval="4" name="sequence"/>
287         </record>
288         <record id="sp_journal_col6" model="account.journal.column">
289             <field name="view_id" ref="account_sp_journal_view"/>
290             <field name="name">Name</field>
291             <field name="field">name</field>
292             <field eval="6" name="sequence"/>
293             <field eval="True" name="required"/>
294         </record>
295         <record id="sp_journal_col7" model="account.journal.column">
296             <field name="view_id" ref="account_sp_journal_view"/>
297             <field name="name">Maturity Date</field>
298             <field name="field">date_maturity</field>
299             <field eval="7" name="sequence"/>
300         </record>
301         <record id="sp_journal_col8" model="account.journal.column">
302             <field name="view_id" ref="account_sp_journal_view"/>
303             <field name="name">Debit</field>
304             <field name="field">debit</field>
305             <field eval="8" name="sequence"/>
306         </record>
307         <record id="sp_journal_col9" model="account.journal.column">
308             <field name="view_id" ref="account_sp_journal_view"/>
309             <field name="name">Credit</field>
310             <field name="field">credit</field>
311             <field eval="9" name="sequence"/>
312         </record>
313         <record id="sp_journal_col10" model="account.journal.column">
314             <field name="view_id" ref="account_sp_journal_view"/>
315             <field name="name">Tax</field>
316             <field name="field">account_tax_id</field>
317             <field eval="10" name="sequence"/>
318         </record>
319         <record id="sp_journal_col11" model="account.journal.column">
320             <field name="view_id" ref="account_sp_journal_view"/>
321             <field name="name">Analytic Account</field>
322             <field name="field">analytic_account_id</field>
323             <field eval="11" name="sequence"/>
324         </record>
325         <record id="sp_journal_col25" model="account.journal.column">
326             <field name="view_id" ref="account_sp_journal_view"/>
327             <field name="name">Tax Acc.</field>
328             <field name="field">tax_code_id</field>
329             <field eval="12" name="sequence"/>
330         </record>
331         <record id="sp_journal_col26" model="account.journal.column">
332             <field name="view_id" ref="account_sp_journal_view"/>
333             <field name="name">Tax</field>
334             <field name="field">tax_amount</field>
335             <field eval="13" name="sequence"/>
336         </record>
337         <record id="sp_journal_col24" model="account.journal.column">
338             <field name="view_id" ref="account_sp_journal_view"/>
339             <field name="name">State</field>
340             <field name="field">state</field>
341             <field eval="14" name="sequence"/>
342         </record>
343         <record id="sp_journal_col20" model="account.journal.column">
344             <field name="view_id" ref="account_sp_journal_view"/>
345             <field name="name">Reconcile</field>
346             <field name="field">reconcile_id</field>
347             <field eval="20" name="sequence"/>
348         </record>
349         
350         <record id="account_sp_refund_journal_view" model="account.journal.view">
351             <field name="name">Sale/Purchase Refund Journal View</field>
352         </record>
353         <record id="sp_refund_journal_col1" model="account.journal.column">
354             <field name="view_id" ref="account_sp_refund_journal_view"/>
355             <field name="name">Date</field>
356             <field name="field">date</field>
357             <field eval="True" name="required"/>
358             <field eval="1" name="sequence"/>
359         </record>
360         <record id="sp_refund_journal_col2" model="account.journal.column">
361             <field name="view_id" ref="account_sp_refund_journal_view"/>
362             <field name="name">N. Piece</field>
363             <field name="field">move_id</field>
364             <field eval="False" name="required"/>
365             <field eval="2" name="sequence"/>
366         </record>
367         <record id="sp_refund_journal_col3" model="account.journal.column">
368             <field name="view_id" ref="account_sp_refund_journal_view"/>
369             <field name="name">Ref</field>
370             <field name="field">ref</field>
371             <field eval="3" name="sequence"/>
372         </record>
373         <record id="sp_refund_journal_col4" model="account.journal.column">
374             <field name="view_id" ref="account_sp_refund_journal_view"/>
375             <field name="name">Account</field>
376             <field name="field">account_id</field>
377             <field eval="True" name="required"/>
378             <field eval="5" name="sequence"/>
379         </record>
380         <record id="sp_refund_journal_col5" model="account.journal.column">
381             <field name="view_id" ref="account_sp_refund_journal_view"/>
382             <field name="name">Partner</field>
383             <field name="field">partner_id</field>
384             <field eval="4" name="sequence"/>
385         </record>
386         <record id="sp_refund_journal_col6" model="account.journal.column">
387             <field name="view_id" ref="account_sp_refund_journal_view"/>
388             <field name="name">Name</field>
389             <field name="field">name</field>
390             <field eval="6" name="sequence"/>
391             <field eval="True" name="required"/>
392         </record>
393         <record id="sp_refund_journal_col7" model="account.journal.column">
394             <field name="view_id" ref="account_sp_refund_journal_view"/>
395             <field name="name">Maturity Date</field>
396             <field name="field">date_maturity</field>
397             <field eval="7" name="sequence"/>
398         </record>
399         <record id="sp_refund_journal_col8" model="account.journal.column">
400             <field name="view_id" ref="account_sp_refund_journal_view"/>
401             <field name="name">Debit</field>
402             <field name="field">debit</field>
403             <field eval="8" name="sequence"/>
404         </record>
405         <record id="sp_refund_journal_col9" model="account.journal.column">
406             <field name="view_id" ref="account_sp_refund_journal_view"/>
407             <field name="name">Credit</field>
408             <field name="field">credit</field>
409             <field eval="9" name="sequence"/>
410         </record>
411         <record id="sp_refund_journal_col10" model="account.journal.column">
412             <field name="view_id" ref="account_sp_refund_journal_view"/>
413             <field name="name">Tax</field>
414             <field name="field">account_tax_id</field>
415             <field eval="10" name="sequence"/>
416         </record>
417         <record id="sp_refund_journal_col11" model="account.journal.column">
418             <field name="view_id" ref="account_sp_refund_journal_view"/>
419             <field name="name">Analytic Account</field>
420             <field name="field">analytic_account_id</field>
421             <field eval="11" name="sequence"/>
422         </record>
423         <record id="sp_refund_journal_col25" model="account.journal.column">
424             <field name="view_id" ref="account_sp_refund_journal_view"/>
425             <field name="name">Tax Acc.</field>
426             <field name="field">tax_code_id</field>
427             <field eval="12" name="sequence"/>
428         </record>
429         <record id="sp_refund_journal_col26" model="account.journal.column">
430             <field name="view_id" ref="account_sp_refund_journal_view"/>
431             <field name="name">Tax</field>
432             <field name="field">tax_amount</field>
433             <field eval="13" name="sequence"/>
434         </record>
435         <record id="sp_refund_journal_col24" model="account.journal.column">
436             <field name="view_id" ref="account_sp_refund_journal_view"/>
437             <field name="name">State</field>
438             <field name="field">state</field>
439             <field eval="14" name="sequence"/>
440         </record>
441         <record id="sp_refund_journal_col20" model="account.journal.column">
442             <field name="view_id" ref="account_sp_refund_journal_view"/>
443             <field name="name">Reconcile</field>
444             <field name="field">reconcile_id</field>
445             <field eval="20" name="sequence"/>
446         </record>
447         
448         <!--
449         Account Journal Sequences
450         -->
451
452         <record id="sequence_journal_type" model="ir.sequence.type">
453             <field name="name">Account Journal</field>
454             <field name="code">account.journal</field>
455         </record>
456         <record id="sequence_journal" model="ir.sequence">
457             <field name="name">Account Journal</field>
458             <field name="code">account.journal</field>
459             <field name="prefix"/>
460         </record>
461         <record id="sequence_sale_journal" model="ir.sequence">
462             <field name="name">Sale Journal</field>
463             <field name="code">account.journal</field>
464             <field name="prefix"/>
465         </record>
466         <record id="sequence_purchase_journal" model="ir.sequence">
467             <field name="name">Purchase Journal</field>
468             <field name="code">account.journal</field>
469             <field name="prefix"/>
470         </record>
471
472         <!--
473         Account Statement Sequences
474         -->
475
476         <record id="sequence_reconcile" model="ir.sequence.type">
477             <field name="name">Account reconcile sequence</field>
478             <field name="code">account.reconcile</field>
479         </record>
480         <record id="sequence_reconcile_seq" model="ir.sequence">
481             <field name="name">Account reconcile sequence</field>
482             <field name="code">account.reconcile</field>
483             <field name="prefix">A</field>
484             <field eval="1" name="number_next"/>
485             <field eval="1" name="number_increment"/>
486         </record>
487
488         <record id="sequence_statement_type" model="ir.sequence.type">
489             <field name="name">Bank Statement</field>
490             <field name="code">account.bank.statement</field>
491         </record>
492         <record id="sequence_statement" model="ir.sequence">
493             <field name="name">Account Bank Statement</field>
494             <field name="code">account.bank.statement</field>
495             <field name="prefix">St. %(month)s/%(day)s/</field>
496             <field eval="0" name="number_next"/>
497             <field eval="1" name="number_increment"/>
498         </record>
499         
500         <record id="cash_sequence_statement_type" model="ir.sequence.type">
501             <field name="name">Cash Statement</field>
502             <field name="code">account.cash.statement</field>
503         </record>
504         <record id="cash_sequence_statement" model="ir.sequence">
505             <field name="name">Account Cash Statement</field>
506             <field name="code">account.cash.statement</field>
507             <field name="prefix">Cr. %(month)s/%(day)s/</field>
508             <field eval="0" name="number_next"/>
509             <field eval="1" name="number_increment"/>
510         </record>
511     </data>
512 </openerp>