Commit graph

12 commits

Author SHA1 Message Date
Denis Durepos
c0834eb327 [REF] bemade_sports_clinic: Remove injury models and simplify data model
- Removed models/injury_models.py and all its references
- Converted relational fields to character fields:
  - body_location_id → body_location
  - injury_type_id → injury_type
- Updated portal templates to use text inputs instead of dropdowns
- Updated controller code to process the new field formats
- Removed related access rights from security CSV
- Modified test files to accommodate the new structure

This refactoring simplifies the data model by removing unnecessary
classifications that were adding complexity without significant benefit.
The direct text fields maintain the same functionality while reducing
the database overhead and simplifying the UI.
2025-07-16 11:37:50 -04:00
Denis Durepos
c60ffd5bfa Created portal views for therapists and Report Injury functionality for portal users (coaches and therapists). 2025-06-21 21:24:50 -04:00
Marc Durepos
4b2b53caa7 Revert "Clean up repository for apps.odoo.com sharing: Remove non-18.0 addons and document them in README.md"
Addons were butchered by this commit.

This reverts commit b33f25c688.
2025-05-29 21:35:47 -04:00
Marc Durepos
b33f25c688 Clean up repository for apps.odoo.com sharing: Remove non-18.0 addons and document them in README.md 2025-05-06 09:04:12 -04:00
Marc Durepos
671555dcc8 [FIX] sports_clinic: removing access unlinks teams 2024-09-29 16:32:27 -04:00
Marc Durepos
6857df18bf [FIX] bemade_sports_clinic: add team access to user 2024-09-27 14:50:03 -04:00
Marc Durepos
705c920b4d [FIX] bemade_sports_clinic: add team access to user 2024-09-27 14:33:20 -04:00
Marc Durepos
82c214b644 fix error in res.users._inverse_accessible_team_ids 2024-09-27 13:32:04 -04:00
Marc Durepos
4e091d3f63 fix for compute_accessible_team_ids on users 2024-09-24 09:47:26 -04:00
Marc Durepos
9ed035a938 attempted fix for access rights issues. 2024-09-18 14:18:31 -04:00
Marc Durepos
b0060ad56b bemade_sports_clinic: limit access rights 2024-04-17 16:43:05 -04:00
Marc Durepos
93a82074df bemade_sports_clinic: second iteration complete. 2023-10-22 15:37:47 -04:00