Skip to Content
Menu
This question has been flagged

Email marketing server error UncaughtPromise TypeError in Odoo v16 CE

The email marketing app fails to load.  Not sure how to resolve?

UncaughtPromiseError > TypeError
Uncaught Promise > Cannot read properties of undefined (reading 'relation')
TypeError: Cannot read properties of undefined (reading 'relation')
    at https://somedomain/web/assets/1124-a8849f8/web.assets_backend.min.js:6730:84
    at traverse (https://somedomain/web/assets/1124-a8849f8/web.assets_backend.min.js:6723:200)
    at https://somedomain/web/assets/1124-a8849f8/web.assets_backend.min.js:6723:242
    at Function.each (https://somedomain/web/assets/1123-6d7ce51/web.assets_common.min.js:173:149)
    at traverse (https://somedomain/web/assets/1124-a8849f8/web.assets_backend.min.js:6723:211)
    at https://somedomain/web/assets/1124-a8849f8/web.assets_backend.min.js:6723:242
    at Function.each (https://somedomain/web/assets/1123-6d7ce51/web.assets_common.min.js:173:149)
    at traverse (https://somedomain/web/assets/1124-a8849f8/web.assets_backend.min.js:6723:211)
    at https://somedomain/web/assets/1124-a8849f8/web.assets_backend.min.js:6723:242
    at Function.each (https://somedomain/web/assets/1123-6d7ce51/web.assets_common.min.js:173:149)

Avatar
Discard
Best Answer

This could be due to multiple reasons. Did the module work in the past? Often there are other custom modules that interfere with the Odoo modules. So make sure this is not the case, by looking for clues about when the problem started and what custom modules you have installed since then. Try restarting your Odoo instance. You could also try to update the mass_mailing module, this sometimes help. You can also 'Activate the developer mode (with assets)' so you can see in the console where the error occurs and in which file, e.g.:

This might be helpful to find out to find out more about this error. I hope this helps!

Avatar
Discard
Author

Hi Jort de Vreeze, thank you for your assistance. How do you get to that console debugger screen you kindly shared? Unfortunately, an update on the mass_amiling module did not resolve the issue. Thanks again, Anthony

This is a screenshot of Firefox. Chrome has something similar under the 'Sources' tab in the console. I reckon most other browsers as well.

Author

I un-installed mass_mailing and re-installed it and that has resolved the issue. Not sure if an un-install is the best approach when you get the following warning : "Uninstalling modules can be risky, we recommend you to try it on a duplicate or test database first.".

Related Posts Replies Views Activity
3
Apr 25
2571
1
Dec 24
11585
1
Jun 24
1953
3
Jun 20
6394
0
Oct 23
1669