<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <record model="ir.ui.view" id="payment_journal_view_form">
            <field name="model">account.payment.journal</field>
            <field name="inherit"
                ref="account_payment.payment_journal_view_form"/>
            <field name="name">payment_journal_form</field>
        </record>

        <record model="ir.ui.view" id="payment_view_form">
            <field name="model">account.payment</field>
            <field name="inherit" ref="account_payment.payment_view_form"/>
            <field name="name">payment_form</field>
        </record>

        <record model="ir.ui.view" id="payment_view_list">
            <field name="model">account.payment</field>
            <field name="inherit" ref="account_payment.payment_view_list"/>
            <field name="name">payment_list</field>
        </record>

        <record model="ir.ui.view" id="payment_group_view_list">
            <field name="model">account.payment.group</field>
            <field name="inherit" ref="account_payment.payment_group_view_list"/>
            <field name="name">payment_group_list</field>
        </record>

        <record model="ir.action.wizard" id="wizard_succeed">
            <field name="name">Succeed Payments</field>
            <field name="wiz_name">account.payment.succeed</field>
            <field name="model">account.payment</field>
        </record>

        <record model="ir.ui.view" id="succeed_start_view_form">
            <field name="model">account.payment.succeed.start</field>
            <field name="type">form</field>
            <field name="name">succeed_start_form</field>
        </record>
        <record model="ir.model.button" id="payment_succeed_wizard_button">
            <field name="model">account.payment</field>
            <field name="name">succeed_wizard</field>
            <field name="string">Succeed</field>
        </record>

        <record model="ir.cron" id="cron_post_clearing_moves">
            <field name="method">account.payment.journal|cron_post_clearing_moves</field>
            <field name="interval_number" eval="1"/>
            <field name="interval_type">days</field>
        </record>
    </data>
</tryton>
