Commit graph

821 commits

Author SHA1 Message Date
Marc Durepos
7b8255abe2 [MIG] portal_hide_draft_order_details to 18.0 2025-09-10 14:05:01 -04:00
Marc Durepos
6accef74e2 [MIG] temporary_change_image_size to 18.0 2025-09-10 13:47:48 -04:00
Marc Durepos
2d748d7b4e [MIG] stock_valuation_location to 18.0 2025-09-10 13:46:21 -04:00
Marc Durepos
e0f55f4458 [MIG] confirm_many2one_create to 18.0 2025-09-10 13:42:57 -04:00
Marc Durepos
8e69382d84 [MIG] partner_equipment_applications to 18.0 2025-09-10 13:37:16 -04:00
Marc Durepos
4142187feb [MIG] price_update_notifications to 18.0 2025-09-10 13:33:48 -04:00
Marc Durepos
d428d673bc [MIG] improved_mo_origin to 18.0 2025-09-10 13:13:28 -04:00
Marc Durepos
1a69864176 [MIG] nuke_mid_task to 18.0 2025-09-10 10:35:23 -04:00
Marc Durepos
d69c2425ee [MIG] customer_applications to 18.0 2025-09-10 10:16:27 -04:00
Marc Durepos
e1a64337ff [MIG] aged_partner_balance_na to 18.0 2025-09-10 10:02:10 -04:00
Marc Durepos
289e8f3731 [MIG] bemade_hide_decimal_on_unit to 18.0 2025-09-10 09:47:18 -04:00
Marc Durepos
7f62a24819 [MIG] bemade_margin_vendor_pricelist to 18.0 2025-09-10 09:43:32 -04:00
Marc Durepos
2d0577d7e3 [MIG] bemade_helpdesk_one_ticket_per_email to 18.0 2025-09-10 09:32:19 -04:00
Marc Durepos
c78b926565 [MIG] bemade_partner_email_domain to 18.0 2025-09-10 09:30:02 -04:00
Marc Durepos
ba9f1e0c56 [MIG] bemade_picking_upstream to 18.0 2025-09-10 09:26:47 -04:00
Marc Durepos
5ec51c3554 [MIG] bemade_reordering_rules_chatter to 18.0 2025-09-09 15:33:33 -04:00
Marc Durepos
c19f2e29e6 [MIG] bemade_search_supplier_code to 18.0 2025-09-09 15:27:10 -04:00
Marc Durepos
8662ad3ffd [MIG] bemade_so_followers_to_picking to 18.0 2025-09-09 15:19:49 -04:00
Marc Durepos
975870333a [MIG] bemade_stock_quant_valuation to 18.0 2025-09-09 14:57:21 -04:00
Marc Durepos
ca493863cb [MIG] fsm_visit_confirmation to 18.0 2025-09-09 14:38:36 -04:00
Marc Durepos
5793351bbe g This is a combination of 2 commits.
[MIG] bemade_fsm to 18.0

Aside from fixing standard 17.0..18.0 stuff and fixing XML ID
references:

1. **Remove `_get_closed_stage_by_project()`**: This method is
obsolete - it was copied from base FSM but no longer exists in
18.0. Base system now uses `is_closed` field.
2. **Implement State Propagation**: Enhance the `write()` method
to propagate done/cancelled states to child tasks using `is_closed` field logic.
3. **Test Task Creation**: Thoroughly test the custom task creation logic
against base 18.0

All 56 tests are passing.
2025-09-09 14:05:34 -04:00
Marc Durepos
c7d0a1be2b [MIG] fsm_equipment to 18.0 2025-09-09 11:38:26 -04:00
Marc Durepos
bb8c1f2f35 [MIG] bemade_partner_root_ancestor to 18.0 2025-09-09 11:29:19 -04:00
Marc Durepos
06584b381a Migrate account_credit_hold to 18.0
Squashed commit of the following:

commit 5adce1fd15
Author: Marc Durepos <marc@bemade.org>
Date:   Thu Sep 4 12:33:00 2025 -0400

    [MIG] 17.0..18.0 account_credit_hold

    Migrated module account_credit_hold from 17.0 to 18.0. Fixed views and
    models and wrote test cases to check functionality.

commit 91c52af6f4
Author: Marc Durepos <marc@bemade.org>
Date:   Thu Sep 4 11:38:37 2025 -0400

    Initial migration of account_credit_hold for testing in 18.0
2025-09-04 12:34:47 -04:00
Marc Durepos
6ea4b324b3 Port bemade_utils from 17.0 to 18.0 2025-09-04 08:33:58 -04:00
Denis Durepos
15f96ec795 feat(bemade_sports_clinic): add Team Role Mass Assign wizard, views, and ACLs
- Add wizard models: team_role_mass_assign_wizard.py (wizard + line)
- Register in models/__init__.py
- Add views/team_role_mass_assign_wizard_views.xml
- Update res_users_views.xml to expose the wizard (button/action)
- Define ACLs for wizard and lines in security/ir.model.access.csv
- Update __manifest__.py to load new security and views
2025-09-03 20:52:12 -04:00
Denis Durepos
917e04d018 Correctly set default is_venue=true when using quick-create to create new venues from the event form (internal). 2025-09-03 20:25:42 -04:00
Marc Durepos
1fe33c306a add author to manifest 2025-09-03 11:33:02 -04:00
Marc Durepos
c43a615dd4 new module to prompt for reason when applying a single inventory adjustment 2025-09-03 11:15:33 -04:00
Marc Durepos
ce69990df6 Remove modules with 17.0 versions 2025-09-03 09:42:04 -04:00
mathis
8424815d53 Ported manifest to 18.0 2025-09-03 09:42:04 -04:00
Denis Durepos
fc8248ff2e Ensuring sanitized filenames on uploaded sports.injury.document even if files previously uploaded with illegal characters. 2025-09-02 07:15:51 -04:00
Denis Durepos
06b9c6d201 portal(events): polish headers and detail view
- Stack action buttons onto a second line in list/detail views\n- Remove redundant team/venue under event title (retained in details card)\n- Minor styling/consistency tweaks
2025-09-01 20:21:36 -04:00
Denis Durepos
a47e829935 bemade_sports_clinic: enforce DOB range validation and improve form errors
- Add DOB validation (not in future, not >120y) in controllers:\n  - controllers/team_management_portal.py: portal_create_player_full, portal_add_player_submit\n  - controllers/player_management_portal.py: create_player_submit, edit_player_submit\n- Preserve form inputs and display clear error messages on invalid DOB\n- Add dateutil.relativedelta import for date range checks\n- Minor template/context tweaks for consistent error rendering
2025-09-01 09:48:47 -04:00
Denis Durepos
6872e5fac2 portal: refactor teams list to responsive card grid; adjust events therapist badge styling
- Convert  from table to Bootstrap card grid in  for better long name visibility and mobile UX
- Preserve fields: team name, parent org, player/injured counts, therapist-only activity count; keep pagination; no sorting/grouping changes
- Events portal templates: set therapist initials badge to #783E88; leave event type badges unchanged
- Add portal static assets scaffolding under  and update manifest accordingly
- Minor template cleanups; no functional changes beyond layout/styling
2025-08-31 18:52:59 -04:00
Marc Durepos
65b301b2e8 add purchase_stock to dependencies for purchase_delivery_carrier 2025-08-31 07:50:22 -04:00
xtremxpert
583e25e092 product_supplierinfo_tracking 2025-08-29 09:43:24 -04:00
Marc Durepos
e5e90d6c7e [ADD] New module replenish_by_first_vendor.
Added a new module for setting the vendor on manual replenishments that
are created by the system. This permits buyers using the Replenishment
interface (stock.orderpoint list view) to more easily order items as
they can group by vendor when working to set up purchase orders.
2025-08-28 10:16:46 -04:00
Denis Durepos
736f7011a7 Corrected access error for coaches attempting to view the patient record for a patient that was also on teams the coach did not have access to. 2025-08-22 06:03:49 -04:00
Denis Durepos
6c096430d5 Overrode res_partner.merge() to ensure correct merge behaviour on res_partners attached to sports_patients. 2025-08-21 19:09:50 -04:00
Marc Durepos
0c156f089b update pre-commit config 2025-08-21 14:27:22 -04:00
Marc Durepos
03ca1649c9 fix date comparison bug for full-day events 2025-08-21 14:16:05 -04:00
Denis Durepos
f5e1751da7 bemade_sports_clinic:
- Add 'account' to depends to ensure invoice portal templates are present
- Hide invoice cards for coaches/therapists via override of account.portal_my_home_invoice
- Events portal: create/edit templates and controller adjustments for therapist workflow
- Minor portal home styling and visibility tweaks for clinic roles
2025-08-21 06:20:07 -04:00
Denis Durepos
8ca4ef5af3 Added value conservation on error to sports.event portal edit and create forms. 2025-08-20 13:28:20 -04:00
Denis Durepos
c03886e812 Corrected sports.event timezone discrepancies in edit and create portal views. 2025-08-20 13:25:53 -04:00
Denis Durepos
29a087b207 Corrected ACLs for patient and patient.injury documents to enable portal users to view all patient documents. 2025-08-19 11:25:03 -04:00
Denis Durepos
37ac446c1e Added filters to sports.patient portal view. 2025-08-15 20:54:37 -04:00
Denis Durepos
a48450849c Modified auto-assignment logic for therapists on new injuries. Added tests for defaults and auto-assignment. 2025-08-15 20:29:33 -04:00
Denis Durepos
580e61d840 Modified sports.event creation interfaces onchange events for start and end datetimes to adjust therapist start time to 120 min before. Extended functionality to internal views. Modified add activity interface to default to To-Do type. 2025-08-15 20:10:28 -04:00
Denis Durepos
2d052d630b Treatment notes section adjustment on injury create and edit forms 2025-08-15 19:58:51 -04:00