Browse Source

[FIX] b_shift : cron for non-validated sheets

pull/143/head
Elouan Le Bars 5 years ago
parent
commit
bff2e7b57f
  1. 5
      beesdoo_shift/data/cron.xml

5
beesdoo_shift/data/cron.xml

@ -52,12 +52,11 @@
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="True" />
<field name="nextcall" eval="(datetime.now() + timedelta(days=1)).replace(hour=1,minute=0,second=0)" />
<field name="doall" eval="False" />
<field name="nextcall" eval="(datetime.now()).strftime('%Y-%m-%d 00:00:10')"/>
<field name="model">beesdoo.shift.sheet</field>
<field name="function">_cron_non_validated_sheets</field>
<field name="args">()</field>
<field name="active" eval="False" />
</record>
<record id="ir_cron_send_weekly_emails" model="ir.cron">

Loading…
Cancel
Save