Commit graph

38 commits

Author SHA1 Message Date
Marc Durepos
e96bcadaed [ENH] bemade_sports_clinic: wrap text on the portal and show HTML.
Allows portal users to see the full diagnosis and notes. Previously,
diagnosis was truncated if it went beyond the bounds of the column.

Also, notes are now shown in HTML instead of HTML escaped to text.
2024-01-08 09:31:39 -05:00
Marc Durepos
386797cb1e fix url for pager on my_team page 2023-11-21 06:39:59 -05:00
Marc Durepos
5beff7c39e fix url for pager on my_team page 2023-11-21 06:38:36 -05:00
Marc Durepos
814841943f Remove migrations file. Fix controller and portal view breadcrumbs. 2023-11-21 06:27:18 -05:00
Marc Durepos
26603aeea9 More fixes to migrate script. 2023-11-20 17:06:08 -05:00
Marc Durepos
5c4cd29ceb Updated migrate script 2023-11-20 16:53:57 -05:00
Marc Durepos
4fb327a705 Added migration script to move to 16.0.1.5.0 for sports clinic module. 2023-11-20 15:53:19 -05:00
Marc Durepos
032cc46666 Iteration 5 for sports clinic management.
- Team staff phone field replaced by mobile field
  - Doctor added to team staff options
  - Trainer replaced by therapist in team staff nomenclature
  - N/A option and onchange behaviour for injury date
  - Patient contact info added on the form view (linked to partner)
  - Allergies field added to patient record
  - Notes added to team information section of patient record
  - Fixed next page button on portal (controller routes update)
2023-11-19 21:07:16 -05:00
Marc Durepos
0b9e462831 Fix error reading access_token for non-admins. 2023-11-08 16:57:14 -05:00
Marc Durepos
7cd32e2b93 More changes for iteration 4:
- Change phone to mobile for team staff
 - Add Doctor to roles selection for team staff
 - Replace "Trainer" by "Therapist" everywhere
2023-11-08 08:33:04 -05:00
Marc Durepos
9ac9aad551
Correct incorrect related field in sports.team.staff 2023-11-07 20:42:39 -05:00
Marc Durepos
c7bc678083 fr_CA.po for bemade_sports_clinic 2023-11-07 16:32:00 -05:00
Marc Durepos
2df2717f38 Default patient ID for creating injury from another injury's form view. 2023-11-07 14:00:56 -05:00
Marc Durepos
e1990e6a4f Added default_get to sports.patient to show the active team id when adding a patient. 2023-11-07 12:00:30 -05:00
Marc Durepos
9bd47d8180 Fix for teams not showing up on res_user form. 2023-11-07 11:37:34 -05:00
Marc Durepos
d6c40a456e Completes iteration 4 without translations. 2023-11-06 22:26:30 -05:00
Marc Durepos
44f391802d bemade_sports_clinic: update portal view and color backend list views. 2023-11-06 20:18:11 -05:00
Marc Durepos
33cf931299 bemade_sports_clinic: fix index out of bounds error in patient.py 2023-11-06 19:48:39 -05:00
Marc Durepos
59b0e2b099 Version bump and icon update for bemade_sports_clinic. 2023-10-29 16:13:11 -04:00
Marc Durepos
b19e71b0af bemade_sports_clinic iteration 3 complete. 2023-10-29 15:57:42 -04:00
Marc Durepos
1a287d1452 bemade_sports_clinic iteration 3 progress on fields and views. 2023-10-28 17:20:22 -04:00
Marc Durepos
e951c23346 Added decoration to patient tree views. 2023-10-28 07:32:15 -04:00
Marc Durepos
93a82074df bemade_sports_clinic: second iteration complete. 2023-10-22 15:37:47 -04:00
Marc Durepos
d92c124f50 bemade_sports_clinic: Lots of work on models and views for second iteration. 2023-10-21 21:32:35 -04:00
Marc Durepos
62a33f633f bemade_sports_clinic: icon update 2023-10-17 14:21:33 -04:00
Marc Durepos
cb70ae9cb5 bemade_sports_clinic: fixed error in loading demo data. 2023-10-17 14:19:45 -04:00
Marc Durepos
ec3b0f4e54 bemade_sports_clinic: fixed error in create method for res_partner. 2023-10-17 14:05:45 -04:00
Marc Durepos
5652f9387e bemade_sports_clinic: added Players page to res_partner form view for teams. 2023-10-17 11:17:46 -04:00
Marc Durepos
825e6fd651 bemade_sports_clinic: portal prototype is functional. 2023-10-17 10:47:33 -04:00
Marc Durepos
f6f6ef1ef3 bemade_sports_clinic: Controller created along with basic homepage view to show counts for teams and patients to team staff. 2023-10-17 09:10:33 -04:00
Marc Durepos
ad0ba3b086 bemade_sports_clinic: added more demo data, fixed some read/write issues in injury model. 2023-10-16 20:32:11 -04:00
Marc Durepos
d5d54c0374 bemade_sports_clinic: added icon 2023-10-16 16:52:14 -04:00
Marc Durepos
ada948b41d bemade_sports_clinic: Got rid of the treatment professional type for res_users. 2023-10-16 16:38:47 -04:00
Marc Durepos
5113c065ab bemade_sports_clinic: added form view for injuries. Fixed record rule for injuries. 2023-10-16 16:23:18 -04:00
Marc Durepos
0cc8f07763 bemade_sports_clinic: fixed patient._compute_age function 2023-10-16 15:46:05 -04:00
Marc Durepos
017f95d15f bemade_sports_clinic: fixed an error in the record rules that caused DB admins to be unable to create patients. 2023-10-16 15:31:25 -04:00
Marc Durepos
a37acac519 Added a bunch of stuff for bemade_sports_clinic 2023-10-16 14:29:28 -04:00
Marc Durepos
f0034ac447 bemade_sports_clinic: initial commit. 2023-10-10 21:52:42 -04:00