Commit graph

237 commits

Author SHA1 Message Date
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
81624ea26c bemade_fsm: all tests passing for 16.0
- Got rid of planned_date_begin and planned_date_end fields. Commented
   out all related code for now. These were fields pending actual
   feature development anyway.
 - Added a product cateogory with income account and expense account to
   the _generate_product common test method. This fixes an error where
   Odoo complained about needing a due date for lines with account type
   = 'asset_receivable'.
 - Rewrote and refactored Task.action_fsm_validate to have it match with
   code from industry_fsm in 16.0.

NOTE: This change depends on code pushed in:
 - sale_workflow [16.0 ba7402471]
 - odoo_addons [16.0 766cd78]
 - PurchasedAddons [16.0 e5e9b7b]
2023-11-29 20:45:09 -05:00
Marc Durepos
23d7d34e71 Forward-port '15.0' into 16.0 2023-11-29 11:29:35 -05:00
Marc Durepos
272fc34fba bemade_fsm: replace domain with filter for parent task on searche views.
On all task views in the Field Service app, add a filter to the search
view to show only Parent Tasks (on by default).
2023-11-29 09:48:21 -05:00
Marc Durepos
47a0ac4176 bemade_fsm: hide completed tasks from To Schedule list 2023-11-23 17:22:08 -05:00
Marc Durepos
7a813d1c76 bemade_fsm: improvements to the task list view 2023-11-23 16:48:07 -05:00
Marc Durepos
87f9d59dc0 bemade_fsm 15.0.1.0.2 - add visits to FSM orders when missing
All sale orders containing a line that will produce an FSM task,
i.e. lines that are linked to a product of type service and with
service_tracking set to task_global_project, will be processed
to make sure that all such lines fall under a service visit. If
a visit already exists on the SO but lines are not covered by it,
the visit will be promoted to be the top item on the order before
confirmation. Otherwise, a default visit will be added to the top
of the order prior to proceeding with confirmation.
2023-11-23 16:18:42 -05:00
Marc Durepos
32def36af0 bemade_fsm: copying sale order now copies visits properly. 2023-11-21 12:24:52 -05:00
Marc Durepos
49d00269fa bemade_fsm: translate 'Visit' in visit task title. 2023-11-21 12:24:52 -05:00
Marc Durepos
8b8250ffbb bemade_fsm: completing an FSM tasks completes all its descendants as well. 2023-11-21 12:24:52 -05:00
Marc Durepos
0ddb7c8160 bemade_fsm: fix visit naming on tasks 2023-11-21 12:24:52 -05:00
Marc Durepos
7e3d5663aa Added a test to bemade_fsm. 2023-11-21 12:23: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
Benoît Vézina
b2555b6bca Merge branch '16.0' of github.com:Dur-Pro/bemade-addons into 16.0 2023-11-20 09:34:03 -05:00
Benoît Vézina
3ecbac2346 friday fix 2023-11-20 09:33:52 -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
Benoît Vézina
baad827f86 fix js mailcow 2023-11-17 12:57:28 -05:00
Benoît Vézina
bcd039d89c odoo 16 2023-11-16 19:33:53 -05:00
Benoît Vézina
fb301db2b3 for migration 2023-11-16 09:01:22 -05:00
Benoît Vézina
71630650c3 Merge branch '15.0' of github.com:Dur-Pro/bemade-addons into 15.0 2023-11-15 18:49:37 -05:00
Benoît Vézina
839a2e2d32 split model 2023-11-15 18:49:18 -05:00
Marc Durepos
0b9e462831 Fix error reading access_token for non-admins. 2023-11-08 16:57:14 -05:00
Marc Durepos
3f8de0d4b3 Fixing bugs in one email per ticket 2023-11-08 10:20:04 -05:00
Marc Durepos
e2c7293bd0 Another attempt at single ticket per email. 2023-11-08 10:12:39 -05:00
Marc Durepos
c7a11c8a08 New small module to have only one ticket created per email received. 2023-11-08 09:07:23 -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
Benoît Vézina
ac9fb2b141 added .xml 2023-11-07 12:36:00 -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
Benoît Vézina
b3c43bfdc8 fix for time-off less than 24h 2023-11-07 10:22:48 -05:00
Benoît Vézina
57f14f7033 change lill to validity date when send so 2023-11-07 08:35:29 -05:00
Benoît Vézina
13381f9ffa bemade_partner_email_domain final 2023-11-07 08:20:42 -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
Benoît Vézina
f5976d89ea evolution 2 of email_domain 2023-11-03 15:17:57 -04:00
Benoît Vézina
de27e3200e ajout tempo pour image 2023-11-01 16:22:58 -04:00
Benoît Vézina
efe612789a new module 2023-11-01 15:16:27 -04:00
Benoît Vézina
db8fc59689 fix if parent is set 2023-11-01 14:56:59 -04:00
Benoît Vézina
bb191fbcc0 Merge commit '0f83da289bc3e63db70f25b68707d2f1f4d46311' into 15.0 2023-11-01 14:39:48 -04:00
Benoît Vézina
721d271280 Merge branch '15.0' of github.com:Dur-Pro/bemade-addons into 15.0 2023-11-01 12:10:03 -04:00