social icon indicating copy to clipboard operation
social copied to clipboard

[16.0] mail_composer_cc_bcc: no attribute 'email_anonymize'

Open rafwenger opened this issue 4 months ago • 2 comments

Module

mail_composer_cc_bcc

Describe the bug

Delivery failure with reason: module 'odoo.tools.mail' has no attribute 'email_anonymize'

To Reproduce

Affected versions: 16.0

Steps to reproduce the behavior:

  1. use full email composer to send an email
  2. add recipient in CC and optionally BCC
  3. send the email
  4. check related record in mail.mail or mail.message to see error

Expected behavior Successful message delivery.

Additional context Checked odoo tool mail.py and could not find email_anonymize method.

rafwenger avatar Aug 21 '25 23:08 rafwenger

Method email_anonymize() does exist in v17.0 repo. https://github.com/odoo/odoo/blob/8a40cb86970a816dcc26fc3013320d2e74d76c61/odoo/tools/mail.py#L737C5-L737C20

rafwenger avatar Aug 21 '25 23:08 rafwenger

Hello @rafwenger, I still can send email, although I followed your steps. Did you install other modules, which could lead to conflict

I checked and look to me the method still exists

trisdoan avatar Sep 15 '25 10:09 trisdoan