bemade-addons/bemade_sports_clinic/models
Denis Durepos a6742c16b0 fix(portal): Resolve injury creation security violations and improve UI consistency
- Fix has_group() security violations by using request.env.user.has_group() in controllers
- Add mail.compose.message ACL permissions for portal users to enable injury creation
- Fix foreign key constraint violation in treatment note creation by passing correct patient parameter
- Update portal field labels and values to match internal views (match_status, practice_status, stage)
- Change "Medical Notes" to "Team Notes" and convert from HTML to plain text rendering
- Fix allergies field clearing logic to allow empty string updates
- Improve badge text readability with proper color contrast across all portal views
- Remove redundant external link icons from injury count displays

Resolves portal injury creation 403 errors and ensures consistent terminology
between portal and backend interfaces.
2025-07-26 20:11:22 -04:00
..
__init__.py [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00
injury_document.py [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00
mail_followers.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
patient.py fix(portal): Resolve injury creation security violations and improve UI consistency 2025-07-26 20:11:22 -04:00
patient_contact.py feat: refactor portal player detail view with comprehensive tabs and status card 2025-07-23 21:01:01 -04:00
patient_injury.py fix(portal): Resolve injury creation security violations and improve UI consistency 2025-07-26 20:11:22 -04:00
res_partner.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
res_users.py [REF] bemade_sports_clinic: Remove injury models and simplify data model 2025-07-16 11:37:50 -04:00
sports_team.py fix(portal): Resolve injury creation security violations and improve UI consistency 2025-07-26 20:11:22 -04:00
treatment_note.py [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00