bemade-addons/bemade_sports_clinic/models
Denis Durepos 3ce8d051bc portal: enable player removal from Edit Player view; fix QWeb group checks
- Replace nested remove form with a submit button using HTML5 formaction to post directly to /my/team/{team_id}/player/{player_id}/remove
- Prevent outer save form from intercepting submission; preserves CSRF; confirmation retained; redirects to team page
- Replace user_has_group helper with request.env.user.has_group in QWeb to prevent NoneType callable errors

Verification:
- Edit Player page renders without 500 error
- Clicking Remove removes the player and returns 303 redirect to /my/team/{team_id}
- Success notification displayed on team page

Notes:
- Removal route already implemented in controller (TeamManagementPortal.portal_remove_player)
2025-08-13 10:43:39 -04:00
..
__init__.py feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
injury_document.py portal: enable player removal from Edit Player view; fix QWeb group checks 2025-08-13 10:43:39 -04:00
mail_followers.py Added post-migration action to fix res_partner parent_id links. 2025-08-10 09:25:25 -04:00
patient.py portal: enable player removal from Edit Player view; fix QWeb group checks 2025-08-13 10:43:39 -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 feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
project_project.py feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
project_task.py feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
project_task_security_test.py feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
res_partner.py feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
res_users.py feat: Production readiness sanitization and access control refactoring 2025-07-31 14:55:18 -04:00
sports_event.py feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
sports_team.py Fixed portal_team_coach group attribution. 2025-08-10 13:50:38 -04:00
treatment_note.py [IMP] bemade_sports_clinic: Refactor portal views and enhance treatment notes 2025-07-11 21:47:50 -04:00