bemade-addons/bemade_sports_clinic
Denis Durepos a8aa7e71c2 fix: resolve portal emergency contact field reference errors and ACL issues
- Fix KeyError: 'relationship' by updating all controller methods to use 'contact_type' field
- Fix AttributeError: 'phone' by changing template references to use 'mobile' field
- Remove references to non-existent fields (email, notes) from emergency contact forms
- Fix XML syntax errors in emergency contact templates
- Grant create/write permissions to portal treatment professionals on res.partner model
- Update patient notes button URL from /my/patient/notes to /my/injury/notes
- Fix emergency contact form validation and field assignments in controllers
- Ensure all field references match actual sports.patient.contact model schema

Resolves portal 500 errors when viewing player details and managing emergency contacts.
Therapists can now successfully add/edit emergency contacts without field reference errors.
2025-07-23 18:45:35 -04:00
..
controllers fix: resolve portal emergency contact field reference errors and ACL issues 2025-07-23 18:45:35 -04:00
data [REF] bemade_sports_clinic: Remove injury models and simplify data model 2025-07-16 11:37:50 -04:00
i18n Created portal views for therapists and Report Injury functionality for portal users (coaches and therapists). 2025-06-21 21:24:50 -04:00
migrations/18.0.1.7.0 [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00
models feat: Implement comprehensive ACL and RPC security fixes 2025-07-22 21:07:51 -04:00
notes [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00
security fix: resolve portal emergency contact field reference errors and ACL issues 2025-07-23 18:45:35 -04:00
static/description Revert "Clean up repository for apps.odoo.com sharing: Remove non-18.0 addons and document them in README.md" 2025-05-29 21:35:47 -04:00
tests fix: achieve zero failing tests and full compliance in bemade_sports_clinic 2025-07-23 07:08:49 -04:00
views fix: resolve portal emergency contact field reference errors and ACL issues 2025-07-23 18:45:35 -04:00
__init__.py Revert "Clean up repository for apps.odoo.com sharing: Remove non-18.0 addons and document them in README.md" 2025-05-29 21:35:47 -04:00
__manifest__.py feat: Implement comprehensive ACL and RPC security fixes 2025-07-22 21:07:51 -04:00
TODO.md [REF] bemade_sports_clinic: Remove injury models and simplify data model 2025-07-16 11:37:50 -04:00