Sunday, February 26, 2023
1 change · master
Miscellaneous changes
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 possibility 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 n
Original PR description
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 possibility 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 Forward-Port-Of: odoo/odoo#113679 Forward-Port-Of: odoo/odoo#112214