Commit graph

260 commits

Author SHA1 Message Date
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
7094871605
Merge pull request #100 from Dur-Pro/16.0
[ADD] new module bemade_payslip_done_as_not_paid
2024-01-04 10:51:00 -05:00
Marc Durepos
b5a59e3574
Merge branch 'Bemade:16.0' into 16.0 2024-01-04 10:50:11 -05:00
Marc Durepos
7f775779e3 [MIG] bemade_partner_email_domain to 16.0 2024-01-03 17:46:07 -05:00
Marc Durepos
e0bde4dcbc bemade_stock_quant_valuation to 16.0 2024-01-03 17:41:51 -05:00
Marc Durepos
489a95314a [MIG] bemade_full_formview_from_modal to 16.0 2024-01-03 17:25:05 -05:00
Marc Durepos
817cb83d94 add module for payslip showing up as to pay when 'done' 2023-12-22 09:53:47 -05:00
Marc Durepos
92c6c81807 bemade_fsm: fixed tests on propagate assignment due to new default. 2023-12-19 19:09:47 -05:00
Marc Durepos
6d167a4cc1 forward port 15.0 into 16.0 2023-12-19 16:13:45 -05:00
Marc Durepos
1583e4c324 account_credit_hold migrated to 16.0 2023-12-18 16:00:49 -05:00
Marc Durepos
148fc500ed move account_credit_hold into bemade-addons 2023-12-18 15:20:33 -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
165ad8a226 bemade_fsm: propagate assignees to false by default. 2023-12-08 14:01:41 -05:00
Marc Durepos
74ec46382a bemade_fsm: Propagation of task assignee to subtasks (optional). 2023-12-05 15:01:27 -05:00
Marc Durepos
41ef2c1484 bemade_fsm: spacing for task from template button, delete js tests. 2023-12-05 12:23:38 -05:00
Marc Durepos
9ff8934556 Fixed new task from template wizard to show right default project. 2023-12-05 12:11:48 -05:00
Marc Durepos
6ab1bda2b7 bemade_fsm: bug fix in new_task_from_template.py default_get 2023-12-05 11:43:24 -05:00
Marc Durepos
0806bc96f0 version bump for bemade_fsm 2023-12-05 11:19:16 -05:00
Marc Durepos
79d1cbe330 bemade_full_formview_from_modal: remove useless lines of JS. 2023-12-05 11:16:10 -05:00
Marc Durepos
22936eee1c bemade_fsm: Create task from template (from FSM views)
Adds a button to create a task from a task template to the list view
and kanban view for the project.task when viewed from the FSM
application.
2023-12-05 09:58:39 -05:00
Marc Durepos
8af9704b67 bemade_fsm: work for creating tasks directly from templates. 2023-12-05 06:59:51 -05:00
Marc Durepos
0d5935a1e4 new module to open full form view from a dialog. 2023-12-04 13:58:58 -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