social icon indicating copy to clipboard operation
social copied to clipboard

[17.0][IMP] mail_send_confirmation: wizard

Open alexey-pelykh opened this issue 1 year ago • 5 comments

Add confirmation to the wizard as well since even though the emails are shown in both cases, a confirmation reduces wrongfully sent messages Screenshot 2025-01-15 at 18 25 24

alexey-pelykh avatar Jan 15 '25 17:01 alexey-pelykh

@yostashiro thanks for the review! As for your question - for quick composer it has to be done via JS as it's a custom component, see https://github.com/odoo/odoo/blob/9af66f9ef02c7412aac5c31eb9ca631b8cf57332/addons/mail/static/src/core/common/composer.js

alexey-pelykh avatar Jan 16 '25 06:01 alexey-pelykh

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

OCA-git-bot avatar Jan 20 '25 17:01 OCA-git-bot

/ocabot merge patch

hbrunn avatar May 02 '25 12:05 hbrunn

This PR looks fantastic, let's merge it! Prepared branch 17.0-ocabot-merge-pr-1544-by-hbrunn-bump-patch, awaiting test results.

OCA-git-bot avatar May 02 '25 12:05 OCA-git-bot

@hbrunn your merge command was aborted due to failed check(s), which you can inspect on this commit of 17.0-ocabot-merge-pr-1544-by-hbrunn-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

OCA-git-bot avatar May 02 '25 12:05 OCA-git-bot

/ocabot merge patch

hbrunn avatar Jun 06 '25 05:06 hbrunn

What a great day to merge this nice PR. Let's do it! Prepared branch 17.0-ocabot-merge-pr-1544-by-hbrunn-bump-patch, awaiting test results.

OCA-git-bot avatar Jun 06 '25 05:06 OCA-git-bot

@hbrunn your merge command was aborted due to failed check(s), which you can inspect on this commit of 17.0-ocabot-merge-pr-1544-by-hbrunn-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

OCA-git-bot avatar Jun 06 '25 05:06 OCA-git-bot

@alexey-pelykh this seems to break the tests of mail_forward. as I don't see an easy way to make this work, please declare mail_send_confirmation a rebel module

hbrunn avatar Jun 06 '25 05:06 hbrunn

@hbrunn thanks for alerting me, wasn't the case at the time - I'll proceed as suggested

alexey-pelykh avatar Jun 06 '25 05:06 alexey-pelykh

hmm, doesn't seem to be caused by your code after all. will look into fixing mail_forward then

hbrunn avatar Jun 06 '25 06:06 hbrunn

I'll revert then

alexey-pelykh avatar Jun 06 '25 06:06 alexey-pelykh

ah, correction: You didn't actually make it a rebel module, see https://github.com/OCA/social/pull/1667 - please cherry pick that, then this should be good to go

hbrunn avatar Jun 06 '25 07:06 hbrunn

/ocabot merge patch

hbrunn avatar Jun 06 '25 09:06 hbrunn

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 17.0-ocabot-merge-pr-1544-by-hbrunn-bump-patch, awaiting test results.

OCA-git-bot avatar Jun 06 '25 09:06 OCA-git-bot

Congratulations, your PR was merged at 02a469a3080f52c838b1fd79b3535588306e143f. Thanks a lot for contributing to OCA. ❤️

OCA-git-bot avatar Jun 06 '25 09:06 OCA-git-bot