コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
193 ビュー

Hello Community,

I'm facing an issue after pushing my code to Odoo.sh. On build, I get the following warning/error:

Some modules are not loaded, some dependencies or manifest may be missing:

['test_mail_enterprise', 'test_mail_full', 'test_mail_sms', 'test_marketing_automation', 'test_mass_mailing']


  • I am not using any of these addons in my custom code.
  • I searched all my modules (__manifest__.py, imports, tests) but found no reference to these modules.
  • Locally, everything works fine , but on Odoo.sh the error appears during the test/build process.

 -- And i see other error related to the above:

Test: Failed

At least one test failed when loading the modules (upward_real_estate_unloaded)


Any help would be appreciated 🙏

アバター
破棄

odoo.sh = Enterprise, also you mention Odoo 18. Now for your local environment you state Odoo 17 CE - what gives?

著作者

Sorry i meant odoo18 my fault

最善の回答

Hi,

On Odoo.sh, the error about missing test_mail_* modules happens because the platform runs builds with --test-enable, which tries to load Odoo’s internal test addons (like test_mail_enterprise, test_mass_mailing) through dependencies such as mail or mass_mailing. These modules aren’t part of your custom code, which is why it works locally without tests but fails on Odoo.sh. The fix is either to disable automatic tests on builds (via .odoorc or branch settings), restrict test loading with test_tags, or, if you do need tests, adjust them so they don’t depend on unavailable enterprise-only modules.


Hope it helps

アバター
破棄