summaryrefslogtreecommitdiff
path: root/addons/calendar_sms
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-07-16 09:49:10 +0000
committerXavier Morel <xmo@odoo.com>2020-07-28 13:03:13 +0000
commit6835aeb0de6895f7f4d6b23e0b4654465ef21d6a (patch)
treea01960df831f7f6fee07b99851dfc49a0978b222 /addons/calendar_sms
parent96a3265118df686a0175b240c9636cfd2b53a492 (diff)
[REM] core, *: deprecate <act_window> and <report>
Convert deprecated tags through the codebase.
Diffstat (limited to 'addons/calendar_sms')
-rw-r--r--addons/calendar_sms/views/calendar_views.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/addons/calendar_sms/views/calendar_views.xml b/addons/calendar_sms/views/calendar_views.xml
index 39ad8c52d31..b7c5018e7ef 100644
--- a/addons/calendar_sms/views/calendar_views.xml
+++ b/addons/calendar_sms/views/calendar_views.xml
@@ -2,15 +2,16 @@
<odoo>
<!-- Add action entry in the Action Menu for Events -->
- <act_window id="calendar_event_act_window_sms_composer_single"
- name="Send SMS to attendees"
- binding_model="calendar.event"
- res_model="sms.composer"
- view_mode="form"
- target="new"
- context="{
+ <record id="calendar_event_act_window_sms_composer_single" model="ir.actions.act_window">
+ <field name="name">Send SMS to attendees</field>
+ <field name="res_model">sms.composer</field>
+ <field name="view_mode">form</field>
+ <field name="target">new</field>
+ <field name="context">{
'default_composition_mode': 'comment',
'default_res_id': active_id,
- }"/>
+ }</field>
+ <field name="binding_model_id" ref="model_calendar_event"/>
+ </record>
</odoo>