콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
355 화면

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

아바타
취소