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
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
],
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user