Migration of all python code, mostly withtout chagnes. And adapting xml files to guidelines. On calendar.py, some changes have been perform to make the migration works : - `_compute` method has been split into `_compute_dates`, `_compute_attendee` and `_compute_display_time`. - remove unused method `onchange_partner_ids`, `check_partners_email` - make `compute_rule_string` use a cache record instead of a value dict to avoid crashes - remove `new_invitation_token` method, and make it a default value on attendee creation - add a default value on `day` field, otherwise the "Please select a proper day of the month" exception is raised during the onchange
18 lines
770 B
XML
18 lines
770 B
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<!-- Scheduler for Event Alarm-->
|
|
<record forcecreate="True" id="ir_cron_scheduler_alarm" model="ir.cron">
|
|
<field name="name">Run Event Reminder</field>
|
|
<field eval="False" name="active" />
|
|
<field name="user_id" ref="base.user_root" />
|
|
<field name="interval_number">30</field>
|
|
<field name="interval_type">minutes</field>
|
|
<field name="numbercall">-1</field>
|
|
<field eval="False" name="doall" />
|
|
<field eval="'calendar.alarm_manager'" name="model" />
|
|
<field eval="'get_next_mail'" name="function" />
|
|
<!--<field eval="'(False,)'" name="args" />-->
|
|
</record>
|
|
</data>
|
|
</odoo> |