Trust-Code/odoo-brasil

View on GitHub
br_account_einvoice/data/nfe_cron.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" ?>
<odoo>
    <data noupdate="1">
        <record id="ir_cron_nfe_send" model="ir.cron">
            <field name="name">Cron Enviar NFe</field>
            <field name="user_id" ref="base.user_root" />
            <field name="interval_number">1</field>
            <field name="interval_type">minutes</field>
            <field name="numbercall">-1</field>
            <field eval="False" name="doall" />
            <field eval="'invoice.eletronic'" name="model" />
            <field eval="'cron_send_nfe'" name="function" />
            <field eval="'()'" name="args" />
        </record>

        <record id="ir_cron_nfe_send_email" model="ir.cron">
            <field name="name">Enviar NFe por Email</field>
            <field name="user_id" ref="base.user_root" />
            <field name="interval_number">1</field>
            <field name="interval_type">minutes</field>
            <field name="numbercall">-1</field>
            <field eval="False" name="active" />
            <field eval="False" name="doall" />
            <field eval="'invoice.eletronic'" name="model" />
            <field eval="'send_email_nfe_queue'" name="function" />
            <field eval="'()'" name="args" />
        </record>
    </data>
</odoo>