İçereği Atla
Menü
Bu soru işaretlendi

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

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.

Üretici

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.".

İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Nis 25
3133
1
Ara 24
12215
1
Haz 24
2422
3
Haz 20
6762
0
Eki 23
1983