|
@ -49,7 +49,7 @@ |
|
|
<field name="interval_type">days</field> |
|
|
<field name="interval_type">days</field> |
|
|
<field name="numbercall">-1</field> |
|
|
<field name="numbercall">-1</field> |
|
|
<field name="doall" eval="False" /> |
|
|
<field name="doall" eval="False" /> |
|
|
<field name="nextcall" eval="datetime.combine(datetime.now(), time(hour=00, minute=00, second=10))"> |
|
|
|
|
|
|
|
|
<field name="nextcall" eval="datetime.now().replace(hour=00, minute=00, second=10)" /> |
|
|
<field name="model_id" ref="model_beesdoo_shift_sheet" /> |
|
|
<field name="model_id" ref="model_beesdoo_shift_sheet" /> |
|
|
<field name="code">model._cron_non_validated_sheets()</field> |
|
|
<field name="code">model._cron_non_validated_sheets()</field> |
|
|
<field name="active" eval="False" /> |
|
|
<field name="active" eval="False" /> |
|
@ -62,11 +62,12 @@ |
|
|
<field name="numbercall">-1</field> |
|
|
<field name="numbercall">-1</field> |
|
|
<field name="doall" eval="True" /> |
|
|
<field name="doall" eval="True" /> |
|
|
<field name="nextcall" |
|
|
<field name="nextcall" |
|
|
eval="datetime.utcnow() + timedelta((6-datetime.utcnow().weekday()) % 7" |
|
|
|
|
|
|
|
|
eval="datetime.now() + timedelta((6 - datetime.now().weekday()) % 7)" |
|
|
/> |
|
|
/> |
|
|
<field name="model_id" ref="model_beesdoo_shift_shift" /> |
|
|
<field name="model_id" ref="model_beesdoo_shift_shift" /> |
|
|
<field name="code">_cron_send_weekly_emails()</field> |
|
|
<field name="code">_cron_send_weekly_emails()</field> |
|
|
<field name="active" eval="False" /> |
|
|
<field name="active" eval="False" /> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
</data> |
|
|
</data> |
|
|
</odoo> |
|
|
</odoo> |