mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[REF] remove deprecated <data> tags
This commit is contained in:
committed by
Darío Lodeiros
parent
b1dc8758bb
commit
919afe0193
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
<!-- Set all task -->
|
||||
<record model="ir.cron" id="add_all_today_tasks">
|
||||
<field name="name">Automatic add all today housekeeping tasks</field>
|
||||
@@ -12,10 +11,9 @@
|
||||
<field name="state">code</field>
|
||||
<field name="model_id" ref="model_pms_room" />
|
||||
<field
|
||||
name="nextcall"
|
||||
eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 03:00:00')"
|
||||
/>
|
||||
name="nextcall"
|
||||
eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 03:00:00')"
|
||||
/>
|
||||
<field name="code">model.add_all_today_tasks()</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user