Skip to content

[18.0] module: mass_mailing | Bug when launching Mass Mailing #1330

@assistinfone-git

Description

@assistinfone-git

Odoo Version

  • 16.0
  • 17.0
  • 18.0
  • Other (specify)

Steps to Reproduce

Hello,

I am encountering a JavaScript error when launching the Mass Mailing module in Odoo 18 and also when modifying an email template.

Environment

Odoo version: 18

OCB On Premise

Image

Steps to Reproduce

  • Open the Mass Mailing module.

  • Create or edit an email template.

The error occurs during loading and also when switching themes in the email editor.

Log Output

Error Message
Odoo Client Error

UncaughtPromiseError > TypeError
Uncaught Promise > Cannot read properties of null (reading '1')

Occured on assistinfone.gestion18.mind-and-go.net on 2026-03-04 09:42:17 GMT

TypeError: Cannot read properties of null (reading '1')
    at https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:19520:436
    at Array.find (<anonymous>)
    at https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:19520:279
    at Array.find (<anonymous>)
    at fontToImg (https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:19520:217)
    at toInline (https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:19514:41)
    at https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:21585:879
    at async MassMailingHtmlField._switchThemes (https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:21628:139)
    at async HTMLAnchorElement.<anonymous> (https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:21608:288)

Support Ticket

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions