Marc Durepos
4baef176fb
Merge branch '16.0' into 17.0
...
Forward port of latest updates.
2024-10-15 08:56:28 -04:00
Marc Durepos
671555dcc8
[FIX] sports_clinic: removing access unlinks teams
2024-09-29 16:32:27 -04:00
Marc Durepos
4eb7f14505
[FIX] sports_clinic: patient name updates on partner.
2024-09-29 16:18:00 -04:00
Marc Durepos
2c4e197c2b
fix for call to no longer existing function on creation of sports team
2024-09-29 15:49:52 -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
75ed4642c6
fix tests, security and post-migration
2024-09-18 15:40:45 -04:00
Marc Durepos
1ab1d00cab
fix sudo issues around patient follower updating
2024-09-18 14:38:34 -04:00
Marc Durepos
64db9a1176
fix patient injury rights
2024-09-18 14:35:51 -04:00
Marc Durepos
9ed035a938
attempted fix for access rights issues.
2024-09-18 14:18:31 -04:00
Marc Durepos
75e986a4a2
bemade_sport_clinic: improve facility for deactivating team staff
2024-09-05 18:41:51 +00:00
Marc Durepos
c9690d46b1
updates for followers
2024-09-05 18:41:51 +00:00
Marc Durepos
eda7f32c7a
added tests and fixed code for patient and injury follower logic
2024-09-05 18:41:42 +00:00
Marc Durepos
03227bb5f4
add logic for computing followers when team staff changes
2024-09-05 18:39:35 +00:00
Marc Durepos
e3198168c1
bemade_sports_clinic: add tracking for injury deletion and creation. Update translations.
2024-09-05 14:24:49 -04:00
Marc Durepos
cc862c56cb
add some debug logging to sports.patient.injury
2024-06-03 20:14:24 -04:00
Marc Durepos
418d03d3a9
add more tracking to sports.team
2024-06-03 19:19:55 -04:00
Marc Durepos
6912a6ef8a
add more tracking to sports.team
2024-06-03 19:17:52 -04:00
Marc Durepos
9fb7606695
add more tracking to sports.team
2024-06-03 19:16:13 -04:00
Marc Durepos
17b971f410
fix issues with access rules on teams in controller and portal views
2024-04-30 11:32:49 -04:00
Marc Durepos
b0060ad56b
bemade_sports_clinic: limit access rights
2024-04-17 16:43:05 -04:00
Marc Durepos
70d262d6f7
bemade_sports_clinic: update attrs in views
2024-03-21 09:30:02 -04:00
Marc Durepos
a07c7bcdbd
Merge remote-tracking branch 'origin/16.0' into 17.0
...
also removed useless module (already covered by 17.0):
bemade_open_project_details
2024-03-15 10:45:48 -04:00
Benoît Vézina
0fde311ee9
change manifest version for all
2024-02-28 13:18:13 -05:00
Marc Durepos
a13d03f777
bemade_sports_clinic: good to go for new version with split notifications (tested with staging)
2024-02-21 15:53:10 -05:00
Marc Durepos
ae385ed1f7
bemade_sports_clinic: split notifcations for internal/external
2024-02-21 15:00:01 -05:00
Marc Durepos
0a2ec5fd8d
bemade_sports_clinic: add consent field, translations and general cleanup
2024-02-20 20:06:35 -05:00
Marc Durepos
3e415249d7
[FIX] fix a bug where dates come up to an incorrect default
...
Timezone differences were causing dates to come up very weirdly on new
patient injury records. They now use the user timezone to convert
datetime.now() appropriately.
2024-01-23 03:03:49 +00:00
Marc Durepos
bcbb3bda1f
bemade_sports_clinic: notify team staff of updates
...
Added two mail.message.subtypes to notify all followers of updates to
patient status and changes to injury fields. Added a post-migration
script to update all existing followers to subscribe to these new
subtypes.
2024-01-13 18:52:37 -05:00
Marc Durepos
47c8f9261c
bemade_sports_clinic: simplify model descriptions
2024-01-10 20:08:14 -05:00
Marc Durepos
1ca241fafb
[ENH] bemade_sports_clinic: Kanban view created to enhance mobile.
...
Kanban view added for players to improve the experience when browsing on
mobile. Card text color synchronized with what the user expects from the
list view.
2024-01-08 09:31:39 -05:00
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
6ff1bf5706
[ENH] bemade_sports_clinic: Kanban view created to enhance mobile.
...
Kanban view added for players to improve the experience when browsing on
mobile. Card text color synchronized with what the user expects from the
list view.
2023-12-11 21:30:08 -05:00
Marc Durepos
c950fe3e93
[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.
2023-12-11 18:24:45 -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