<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">

    <!-- TODO remove as it is already the fallback in _find_mail_template -->
    <record id="default_confirmation_template" model="ir.config_parameter">
        <field name="key">sale.default_confirmation_template</field>
        <field name="value" ref="sale.mail_template_sale_confirmation"/>
    </record>

    <record id="default_invoice_email_template" model="ir.config_parameter">
        <field name="key">sale.default_invoice_email_template</field>
        <field name="value" ref="account.email_template_edi_invoice"/>
    </record>

    <record id="send_invoice_cron" model="ir.cron">
        <field name="name">automatic invoicing: send ready invoice</field>
        <field name="model_id" ref="payment.model_payment_transaction" />
        <field name="state">code</field>
        <field name="code">model._cron_send_invoice()</field>
        <field name="user_id" ref="base.user_root" />
        <field name="interval_number">1</field>
        <field name="interval_type">days</field>
        <field name="numbercall">-1</field>
    </record>

</odoo>
