← Back to team overview

openerp-community team mailing list archive

OpenERP schedule action

 

Hello everyone, i created a file.xml schedule action in my custom module
like below.
Everything seems right but it does'nt work!! The only thing that i'm not
sure is the "eval" value for arguements "args".
Someone could help me to fix that please? :(

<openerp>
    <data>
    <!-- My shceduler -->
        <record forcecreate="True" model="ir.cron" id="vigne_cron">
            <field name="name">Vigne_facture_check</field>
            <field eval="True" name="active"/>
            <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="'vigne.class'" name="model"/>
            <field eval="'check_fact_taillage'" name="function"/>
            <field eval="'()'" name="args"/>
        </record>
    </data>
</openerp>

*PS: I work on openerp 6.1.1 *