<openerp>
    <data>
        <record id="view_account_journal_form_todo" model="ir.ui.view">
            <field name="name">account.journal.todo.form</field>
            <field name="model">account.journal.todo</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="base.res_config_view_base"/>
            <field name="arch" type="xml">
              <data>
                <form position="attributes">
                  <attribute name="string">Account Journal Configuration</attribute>
                </form>
                <separator string="title" position="attributes">
                    <attribute name="string">Configure Your Account Journal System</attribute>
                </separator>
                <xpath expr="//label[@string='description']"
                 position="attributes">
                <attribute name="string">Set accounts on financial journals defined by CamptoCamp l10n_ch module</attribute>
                <attribute name="width">150</attribute>                
                </xpath>
                <xpath expr='//separator[@string="vsep"]' position='attributes'>
                          <attribute name='rowspan'>15</attribute>
                          <attribute name='string'></attribute>
                </xpath>
                <group string="res_config_contents" position="replace">
                    <field name="name" select="1"/>
                    <group colspan="4">               
                        <separator colspan="4" string="The accounts linked to the account journals"/>
                        <field name="default_credit_account_id" select="1"
                        on_change="on_change_credit(name, default_credit_account_id)"/>
                        <field name="default_debit_account_id" select="1"
                        on_change="on_change_debit(name, default_debit_account_id)"/>
                    </group>
                </group>
                <xpath expr="//button[@name='action_next']" position="attributes">
                    <attribute name="string">Next</attribute>
                </xpath>
              </data>
            </field>
        </record>
        <record id="action_config_journal" model="ir.actions.act_window">
          <field name="name">Finalize your Journal</field>
          <field name="type">ir.actions.act_window</field>
          <field name="res_model">account.journal.todo</field>
          <field name="view_type">form</field>
          <field name="view_mode">form</field>
          <field name="view_id" ref="view_account_journal_form_todo"/>
          <field name="target">new</field>
        </record>
        <record id="action_config_journal_todo" model="ir.actions.todo">
          <field name="action_id" ref="action_config_journal"/>
          <field name="sequence">5</field>
          <field name="restart">onskip</field>
        </record>
    </data>
</openerp>
