<record id="schedule_statistic_num_sum" model="ir.cron"> <field name="name">加载发票</field> <field name="model_id" ref="model_hr_expense_invoicesource_head"/> <field name="state">code</field> <field name="code">model.loadinvoiced()</field> <field name="interval_number">1</field> <field name="interval_type">minutes</field> <field name="numbercall">-1</field> <field eval="True" name="doall"/> <field name="user_id" ref="base.user_root"/> </record>
标签:code,任务,odoo,定时,minutes,model,loadinvoiced From: https://www.cnblogs.com/pythonClub/p/17454195.html