Browse Source

fix cron

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

23
base_sms_client/data/sms_gateway_data.xml

@ -1,15 +1,16 @@
<?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="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="active">False</field>
</record>
<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" eval="False"/>
<field name="code">model._run_send_sms()</field>
<field name="active">False</field>
</record>
</odoo>
Loading…
Cancel
Save