diff options
| author | Mahendra barad <mba@openerp.com> | 2017-03-08 11:41:11 +0530 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-03-23 17:39:18 +0100 |
| commit | 63167fc51b70cd1a51fb8bb75968aade4f0e0071 (patch) | |
| tree | 8b660fa12290882e9f0cc7b5e2c327c214985d0b /addons/mail/static/src/xml/activity.xml | |
| parent | 9c42c699f520ddaa0f81f2c2a569a7d74ea1ce7e (diff) | |
[IMP] mail: allow users to give schedule and give a feedback on activities
When setting an activity as done in chatter users now have the possibility
to add a feedback. This feedback is added in the generated message that
already contains the activity name and note.
Moreover users now can also immediately schedule a next activity. This is
very useful for chained activities and speeds up activities use.
Diffstat (limited to 'addons/mail/static/src/xml/activity.xml')
| -rw-r--r-- | addons/mail/static/src/xml/activity.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/activity.xml b/addons/mail/static/src/xml/activity.xml index 92f15abcc9a..5fc6346182c 100644 --- a/addons/mail/static/src/xml/activity.xml +++ b/addons/mail/static/src/xml/activity.xml @@ -9,7 +9,7 @@ <div class="o_thread_message_sidebar"> <img t-attf-src="/web/image/res.users/#{activity.user_id[0]}/image_small" class="o_thread_message_avatar mb8"/> - <a href="#" class="o_activity_done o_activity_link" t-att-data-activity-id="activity.id"><span class="fa fa-check-circle fa-2x" /></a> + <a href="#" class="o_activity_done o_activity_link" t-att-data-activity-id="activity.id" data-toggle="popover"><span class="fa fa-check-circle fa-2x" /></a> </div> <div class="o_thread_message_core o_mail_note"> <div class="o_mail_info"> @@ -41,4 +41,17 @@ </div> </t> </t> + <t t-name="mail.activity_feedback_form"> + <div> + <textarea class="form-control" rows="3" id="activity_feedback" placeholder="Write Feedback"/> + <div class="mt8"> + <button type="button" class="btn btn-xs btn-primary o_activity_popover_done_next"> + Done & Schedule Next</button> + <button type="button" class="btn btn-xs btn-primary o_activity_popover_done"> + Done</button> + <button type="button" class="btn btn-xs btn-link o_activity_popover_discard"> + Discard</button> + </div> + </div> + </t> </templates>
\ No newline at end of file |
