Skip to content

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

@assistinfone-git

Description

@assistinfone-git

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

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

Environment / Odoo Version

Odoo version: 18
OCB On Premise

Module

Image

Steps to Reproduce

  • Open the Mass Mailing module after adding a new template.
  • Create or edit an email template.

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

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 ()
at https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:19520:279
at Array.find ()
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. (https://assistinfone.gestion18.mind-and-go.net/web/assets/9630369/web.assets_web.min.js:21608:288)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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