From e1f4205ef3accbfdcf771ebc9ecb4afd22cbf084 Mon Sep 17 00:00:00 2001 From: Parth Choksi Date: Wed, 23 Oct 2019 11:17:03 +0000 Subject: [FIX] mail: reset suggested partner when record saved MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, when "Send message" composer was open with some suggested recipients, and then editing and saving data related to the suggested recipients, the suggested recipients were not updated on composer until some user interactions like page reload. Steps to reproduce: - Open an opportunity in CRM; - Open "Send message" composer; - Change "Email" field; - Save changes; > Suggested recipient above composer textarea is not updated with newly saved email adress. It becomes updated only after some user interactions, such as toggle "Log note" then "Send message" or with a page reload. This commit fixes the issue by updating the suggested recipients on the composer in real-time when clicking on "Save". Task-Id 2089816 closes odoo/odoo#40033 Signed-off-by: Alexandre Kühn (aku) Co-authored-by: Mohammed Shekha Co-authored-by: Alexandre Kühn --- addons/mail/static/src/xml/chatter.xml | 59 +++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 26 deletions(-) (limited to 'addons/mail/static/src/xml/chatter.xml') diff --git a/addons/mail/static/src/xml/chatter.xml b/addons/mail/static/src/xml/chatter.xml index 715157fa43b..9b05b242d73 100644 --- a/addons/mail/static/src/xml/chatter.xml +++ b/addons/mail/static/src/xml/chatter.xml @@ -37,6 +37,38 @@ + + + +
+ +
+
+ + +
+
+
+ + + Show more + + + Show less + + +
+
+ -
- -
-
- - -
-
-
- - - Show more - - - Show less - - -
+ -- cgit v1.2.3