[FIX] Account coda, payment, l10n_ch: minor fix
[odoo/odoo.git] / addons / l10n_ch / account_journal_view.xml
1 <openerp>
2     <data>
3         <record id="view_account_journal_form_todo" model="ir.ui.view">
4             <field name="name">account.journal.todo.form</field>
5             <field name="model">account.journal.todo</field>
6             <field name="type">form</field>
7             <field name="inherit_id" ref="base.res_config_view_base"/>
8             <field name="arch" type="xml">
9               <data>
10                 <form position="attributes">
11                   <attribute name="string">Account Journal Configuration</attribute>
12                 </form>
13                 <separator string="title" position="attributes">
14                     <attribute name="string">Configure Your Account Journal System</attribute>
15                 </separator>
16                 <xpath expr="//label[@string='description']"
17                  position="attributes">
18                 <attribute name="string">Set accounts on financial journals defined by CamptoCamp l10n_ch module</attribute>
19                 <attribute name="width">150</attribute>                
20                 </xpath>
21                 <xpath expr='//separator[@string="vsep"]' position='attributes'>
22                           <attribute name='rowspan'>15</attribute>
23                           <attribute name='string'></attribute>
24                 </xpath>
25                 <group string="res_config_contents" position="replace">
26                     <field name="name" select="1"/>
27                     <group colspan="4">               
28                         <separator colspan="4" string="The accounts linked to the account journals"/>
29                         <field name="default_credit_account_id" select="1"
30                         on_change="on_change_credit(name, default_credit_account_id)"/>
31                         <field name="default_debit_account_id" select="1"
32                         on_change="on_change_debit(name, default_debit_account_id)"/>
33                     </group>
34                 </group>
35                 <xpath expr="//button[@name='action_next']" position="attributes">
36                     <attribute name="string">Next</attribute>
37                 </xpath>
38               </data>
39             </field>
40         </record>
41         <record id="action_config_journal" model="ir.actions.act_window">
42           <field name="name">Finalize your Journal</field>
43           <field name="type">ir.actions.act_window</field>
44           <field name="res_model">account.journal.todo</field>
45           <field name="view_type">form</field>
46           <field name="view_mode">form</field>
47           <field name="view_id" ref="view_account_journal_form_todo"/>
48           <field name="target">new</field>
49         </record>
50         <record id="action_config_journal_todo" model="ir.actions.todo">
51           <field name="action_id" ref="action_config_journal"/>
52           <field name="sequence">5</field>
53           <field name="restart">onskip</field>
54         </record>
55     </data>
56 </openerp>