fix: resolve 9 critical bugs from full local testing

- Migrate 5 OWL components from deprecated useService("rpc") to useService("orm") for Odoo 19
- Fix _paginate() signature mismatch across 6 controllers (dual calling convention)
- Fix taxonomy API serializers referencing non-existent fields (icon, difficulty)
- Fix branding controller validate_token() called with wrong arguments
- Add .sudo() to exam template/question model access under auth='none'
- Restore missing encoach_core files (security groups, permissions seed, core models)
- Create encoach_api shared controller utilities module
- Add Entity list/form/search views and menu items
- Add Taxonomy (Subjects/Domains/Topics) views and menu items
- Fix deprecated XML group expand="0" patterns across 15 view files
- Remove stale model references from adaptive __init__.py and access CSV
- Update .gitignore to exclude local dev artifacts

Tested: 97% pass rate (64/66 tests) across UI navigation, CRUD, and API endpoints.
Made-with: Cursor
This commit is contained in:
Yamen Ahmad
2026-04-07 03:43:48 +04:00
parent 6c93c5d600
commit d98cd55b99
58 changed files with 1401 additions and 213 deletions

View File

@@ -50,6 +50,7 @@
<field name="arch" type="xml">
<search string="Search Student Profiles">
<field name="user_id"/>
<field name="cefr_level"/>
<separator/>
<filter string="Pre-A1" name="pre_a1" domain="[('cefr_level', '=', 'pre_a1')]"/>
<filter string="A1" name="a1" domain="[('cefr_level', '=', 'a1')]"/>
@@ -59,9 +60,7 @@
<filter string="C1" name="c1" domain="[('cefr_level', '=', 'c1')]"/>
<filter string="C2" name="c2" domain="[('cefr_level', '=', 'c2')]"/>
<separator/>
<group expand="0" string="Group By">
<filter string="Entity" name="group_entity" context="{'group_by': 'entity_id'}"/>
</group>
<filter string="Entity" name="group_entity" context="{'group_by': 'entity_id'}"/>
</search>
</field>
</record>