- 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. |
||
|---|---|---|
| .. | ||
| injury_management_portal_templates.xml | ||
| player_management_portal_templates.xml | ||
| portal_activity_detail_template.xml | ||
| res_partner_views.xml | ||
| res_users_views.xml | ||
| sports_clinic_menus.xml | ||
| sports_clinic_portal_views.xml | ||
| sports_clinic_portal_views.xml.bak | ||
| sports_patient_injury_portal.xml | ||
| sports_patient_injury_views.xml | ||
| sports_patient_views.xml | ||
| sports_team_views.xml | ||
| task_management_portal_templates.xml | ||
| treatment_note_views.xml | ||