Browse Source

fix cron

pull/182/head
Adrià Gil Sorribes 6 years ago
parent
commit
cf9112db14
  1. 9
      base_sms_client/data/sms_gateway_data.xml

9
base_sms_client/data/sms_gateway_data.xml

@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo noupdate="1">
<record id="ir_cron_crm_action" model="ir.cron">
<field name="name">Send SMS</field>
<field name="model_id" ref="model_sms_gateway"/>
<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 name="doall">False</field>
<field name="model_id" ref="model_sms_gateway"/>
<field name="function">_run_send_sms</field>
<field name="args">()</field>
<field name="doall" eval="False"/>
<field name="code">model._run_send_sms()</field>
<field name="active">False</field>
</record>

Loading…
Cancel
Save