Hello guys,
I want to run a corn job every begging of the year.
I try this :
<record id="ir_cron_yearly_transfert" model="ir.cron">
<field name="name">Holiday: transfert yearly balance</field>
<field name="model_id" ref="hr_holidays_custom.model_hr_contract"/>
<field name="state">code</field>
<field name="code">model.cron_yearly_transfert()</field>
<field name="interval_type">months</field>
<field name="numbercall">-1</field>
<field name="interval_number">12</field></record>
but the Next Execution Date shows 08/06/2020 16:52:40
How can I solve this?
Automated action in odoo: http://learnopenerp.blogspot.com/2020/05/how-to-create-scheduled-action-in-odoo.html