[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.
This commit is contained in:
Thibault Delavallée
2018-06-08 17:39:30 +02:00
parent 6b4ccf3e34
commit c879fb0f00
@@ -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"