-
- Downloads
[FIX] mail: uncheck recipient without partner
To reproduce ============ - on website add or edit **contact us** form to create a task on a project - fill the form from Incognito - on project -> the created task : try to send message on chatter - you will find the email used when filling the form with possibilty to check it as receiver - check the box, a dialog will open to create a Partner for this email - close the dialog without modifying anything Problem ======= the checkbox will remain checked, but when you send a message no email will be sent Solution ======== as stated in this comment https://github.com/odoo/odoo/blob/de1f701e7bd7ebb6f7ebea5c097d980039c4f904/addons/mail/static/src/components/composer_suggested_recipient/composer_suggested_recipient.js#L128-L130 we will only send the message to partnenrs, so if no partner is created we must uncheck the checkbox. opw-3168779 closes odoo/odoo#113062 X-original-commit: 646888b8 Signed-off-by:Sébastien Theys (seb) <seb@odoo.com>
Showing
- addons/mail/static/src/components/chatter/tests/chatter_suggested_recipient_tests.js 41 additions, 0 deletions...onents/chatter/tests/chatter_suggested_recipient_tests.js
- addons/mail/static/src/components/composer_suggested_recipient/composer_suggested_recipient.js 4 additions, 0 deletions...poser_suggested_recipient/composer_suggested_recipient.js
Please register or sign in to comment