bemade-addons/bemade_sports_clinic
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
..
controllers portal: enable player removal from Edit Player view; fix QWeb group checks 2025-08-13 10:43:39 -04:00
data feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
i18n Fixed syntax error in fr_CA.po 2025-08-10 15:37:33 -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 portal: enable player removal from Edit Player view; fix QWeb group checks 2025-08-13 10:43:39 -04:00
notes Completed sanitization for production testing phase. 2025-08-01 06:05:13 -04:00
security feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
static/description Fixing missing index.html 2025-08-12 10:08:35 -04:00
tests feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00
views portal: enable player removal from Edit Player view; fix QWeb group checks 2025-08-13 10:43:39 -04:00
wizards feat: Allow duplicate task-to-event conversions for different teams 2025-08-12 11:47:57 -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
__manifest__.py Fixing missing index.html 2025-08-12 10:08:35 -04:00
PROJECT_TASK_PORTAL_SECURITY.md feat: Update bemade_sports_clinic to v18.0.2.0.0 with comprehensive activity management 2025-08-12 09:23:05 -04:00