summaryrefslogtreecommitdiff
path: root/addons/calendar/views/mail_activity_views.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-04-10 17:40:15 +0200
committerThibault Delavallée <tde@odoo.com>2018-06-08 17:39:30 +0200
commitc879fb0f007f5e577f72791ef8afb7eff2b09ed0 (patch)
treeb8fdff8b38312c1d1a51e2509776b888653ed5a4 /addons/calendar/views/mail_activity_views.xml
parent6b4ccf3e34b20b1f4ecfab6315cbc72eeaf1b6d5 (diff)
[IMP] calendar: improve scheduling meeting activities
After feedback from various uses, some improvements are made on the form view to schedule an activity linked to meeting type * renaming the button to be more obvious that the user will be redirected to the calendar to schedule the meeting; * remove the note field to have a smaller form; This commit is related to task ID 1819812. Closes #24169.
Diffstat (limited to 'addons/calendar/views/mail_activity_views.xml')
-rw-r--r--addons/calendar/views/mail_activity_views.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/calendar/views/mail_activity_views.xml b/addons/calendar/views/mail_activity_views.xml
index 721f1068f31..9df0180fead 100644
--- a/addons/calendar/views/mail_activity_views.xml
+++ b/addons/calendar/views/mail_activity_views.xml
@@ -32,8 +32,11 @@
<xpath expr="//button[@special='cancel']" position="attributes">
<attribute name="attrs">{'invisible': [('activity_category', '=', 'meeting')]}</attribute>
</xpath>
+ <xpath expr="//field[@name='note']" position="attributes">
+ <attribute name="attrs">{'invisible': [('activity_category', '=', 'meeting')]}</attribute>
+ </xpath>
<xpath expr="//button[@name='action_close_dialog']" position="before">
- <button string="Schedule a meeting"
+ <button string="Open Calendar"
attrs="{'invisible': [('activity_category', '!=', 'meeting')]}"
name="action_create_calendar_event"
type="object"