From d9f8a628861e3180a1047ea36bc308218a51b757 Mon Sep 17 00:00:00 2001 From: devops Date: Wed, 1 Apr 2026 20:01:25 +0400 Subject: [PATCH] Fix missing Odoo module dependency declarations Four __manifest__.py files were missing declared dependencies on modules they already reference via comodel_name fields: - encoach_exam: add encoach_taxonomy (defines encoach.subject) - encoach_subscription: add encoach_taxonomy - encoach_training: add encoach_taxonomy - encoach_courseware: add encoach_assignment (defines encoach.assignment) Without these, Odoo's module loader throws AssertionError on unknown comodel_name and refuses to initialize the registry. Made-with: Cursor --- new_project/custom_addons/encoach_courseware/__manifest__.py | 2 +- new_project/custom_addons/encoach_exam/__manifest__.py | 2 +- new_project/custom_addons/encoach_subscription/__manifest__.py | 2 +- new_project/custom_addons/encoach_training/__manifest__.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/new_project/custom_addons/encoach_courseware/__manifest__.py b/new_project/custom_addons/encoach_courseware/__manifest__.py index 830c2b5e..f8d693b5 100644 --- a/new_project/custom_addons/encoach_courseware/__manifest__.py +++ b/new_project/custom_addons/encoach_courseware/__manifest__.py @@ -4,7 +4,7 @@ 'category': 'Education', 'summary': 'Course chapters, materials, progress, AI workbench', 'author': 'EnCoach', - 'depends': ['encoach_core', 'encoach_taxonomy', 'encoach_ai', 'openeducat_core'], + 'depends': ['encoach_core', 'encoach_taxonomy', 'encoach_ai', 'openeducat_core', 'encoach_assignment'], 'data': ['security/ir.model.access.csv', 'data/ir_cron.xml'], 'installable': True, 'license': 'LGPL-3', diff --git a/new_project/custom_addons/encoach_exam/__manifest__.py b/new_project/custom_addons/encoach_exam/__manifest__.py index db1fb941..64f6de5b 100644 --- a/new_project/custom_addons/encoach_exam/__manifest__.py +++ b/new_project/custom_addons/encoach_exam/__manifest__.py @@ -4,7 +4,7 @@ 'category': 'Education', 'summary': 'AI-powered exam management: structures, rubrics, exercises', 'author': 'EnCoach', - 'depends': ['encoach_core'], + 'depends': ['encoach_core', 'encoach_taxonomy'], 'data': [ 'security/ir.model.access.csv', ], diff --git a/new_project/custom_addons/encoach_subscription/__manifest__.py b/new_project/custom_addons/encoach_subscription/__manifest__.py index e66c7397..22b419af 100644 --- a/new_project/custom_addons/encoach_subscription/__manifest__.py +++ b/new_project/custom_addons/encoach_subscription/__manifest__.py @@ -4,7 +4,7 @@ 'category': 'Education', 'summary': 'Packages, payments (Stripe/PayPal/Paymob), discounts', 'author': 'EnCoach', - 'depends': ['encoach_core'], + 'depends': ['encoach_core', 'encoach_taxonomy'], 'data': ['security/ir.model.access.csv'], 'installable': True, 'license': 'LGPL-3', diff --git a/new_project/custom_addons/encoach_training/__manifest__.py b/new_project/custom_addons/encoach_training/__manifest__.py index 55f997a7..ec60851a 100644 --- a/new_project/custom_addons/encoach_training/__manifest__.py +++ b/new_project/custom_addons/encoach_training/__manifest__.py @@ -4,7 +4,7 @@ 'category': 'Education', 'summary': 'Tips, walkthroughs, FAISS embeddings', 'author': 'EnCoach', - 'depends': ['encoach_core'], + 'depends': ['encoach_core', 'encoach_taxonomy'], 'data': ['security/ir.model.access.csv'], 'installable': True, 'license': 'LGPL-3',