Odoo modules related to surveys
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
797 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data noupdate="1">
  4. <!-- <data> -->
  5. <record model="ir.cron" id="set_customer_inactive">
  6. <field name="name">Clôture des sondages arrivés à échéance</field>
  7. <field name="model_id" ref="survey.model_survey_survey"/>
  8. <field name="state">code</field>
  9. <field name="code">model.action_close_survey()</field>
  10. <field name="active" eval="True"/>
  11. <field name="user_id" ref="base.user_root"/>
  12. <field name="interval_number">1</field>
  13. <field name="interval_type">days</field>
  14. <field name="nextcall" eval="(datetime.today() + relativedelta(days=1)).strftime('%Y-%m-%d 00:10:00')"/>
  15. <field name="numbercall">-1</field>
  16. <field name="doall" eval="False"/>
  17. </record>
  18. </data>
  19. </odoo>