bemade-addons/bemade_sports_clinic/views
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
..
injury_management_portal_templates.xml [REF] bemade_sports_clinic: Remove injury models and simplify data model 2025-07-16 11:37:50 -04:00
player_management_portal_templates.xml fix: resolve portal emergency contact field reference errors and ACL issues 2025-07-23 18:45:35 -04:00
portal_activity_detail_template.xml feat: Implement comprehensive ACL and RPC security fixes 2025-07-22 21:07:51 -04:00
res_partner_views.xml Migrated bemade_sports_clinic to 18.0 2025-06-20 14:56:47 -04:00
res_users_views.xml [REF] bemade_sports_clinic: Remove injury models and simplify data model 2025-07-16 11:37:50 -04:00
sports_clinic_menus.xml Created portal views for therapists and Report Injury functionality for portal users (coaches and therapists). 2025-06-21 21:24:50 -04:00
sports_clinic_portal_views.xml fix: resolve portal emergency contact field reference errors and ACL issues 2025-07-23 18:45:35 -04:00
sports_clinic_portal_views.xml.bak [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00
sports_patient_injury_portal.xml [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00
sports_patient_injury_views.xml [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00
sports_patient_views.xml Created portal views for therapists and Report Injury functionality for portal users (coaches and therapists). 2025-06-21 21:24:50 -04:00
sports_team_views.xml Created portal views for therapists and Report Injury functionality for portal users (coaches and therapists). 2025-06-21 21:24:50 -04:00
task_management_portal_templates.xml feat: Implement comprehensive ACL and RPC security fixes 2025-07-22 21:07:51 -04:00
treatment_note_views.xml [FIX] bemade_sports_clinic: Fix treatment note views for Odoo 18 compatibility 2025-07-12 12:39:29 -04:00