Commit graph

594 commits

Author SHA1 Message Date
xtremxpert
b6eca04802 Merge branch '17.0' of git.bemade.org:bemade/bemade-addons into 17.0 2024-11-21 09:57:00 -05:00
xtremxpert
fdcc81d29e openai fix 2024-11-21 09:56:19 -05:00
Marc Durepos
c1a2129359 beginnings of new module fsm_visit_confirmation, fix to bemad_partner_email_domain and incrementing_sequence_mixin 2024-11-20 15:42:13 -05:00
Marc Durepos
5b696e8eab delivery_carrier_partner_account: looks ready for first launch 2024-11-20 14:44:33 -05:00
Marc Durepos
9b882ec7f8 delivery_carrier_partner_account: add choose delivery wizard code and tests 2024-11-20 13:13:57 -05:00
Marc Durepos
d99acaa3ec delivery_carrier_partner_account: added views and action 2024-11-20 11:17:35 -05:00
Marc Durepos
34ec1a8230 new module delivery_carrier_partner_account started 2024-11-20 09:15:59 -05:00
Marc Durepos
f542d8fbf9 bemade_partner_email_domain: fix issue where qc.ca emails matched too many partners 2024-11-19 13:33:14 -05:00
Benoît Vézina
4163232371 new modules openai 2024-11-16 06:45:41 -05:00
Marc Durepos
e7fd3c3910 fixup! [IMP] caldav_sync: Massive rework 2024-11-08 15:52:51 -05:00
Marc Durepos
7ae6454947 [IMP] caldav_sync: Massive rework
Significant improvements to the code around synchronizing events,
especially recurring ones. Too much has changed to explain fully here,
so read the changelog in README.rst or read the code.

Squashed commit of the following:

commit e537a7f7f4
Author: Marc Durepos <marc@bemade.org>
Date:   Fri Nov 8 15:47:39 2024 -0500

    caldav_sync: getting ready for launch of 0.6.0

commit 5797f8efca
Author: Marc Durepos <marc@bemade.org>
Date:   Fri Nov 8 12:41:13 2024 -0500

    fixup! caldav_sync: all seems good. further testing to come before merging into 17.0

commit 992778e353
Author: Marc Durepos <marc@bemade.org>
Date:   Fri Nov 8 12:41:02 2024 -0500

    caldav_sync: all seems good. further testing to come before merging into 17.0

commit 90d05d75a2
Author: Marc Durepos <marc@bemade.org>
Date:   Fri Nov 8 11:31:14 2024 -0500

    caldav_sync: better sync with calls to _rewrite_recurrence

commit 5ca1d56e54
Author: Marc Durepos <marc@bemade.org>
Date:   Thu Nov 7 16:13:31 2024 -0500

    caldav_sync: recurrence working from Odoo to CalDAV. Need further testing for the other direction.

commit ce7b27cc65
Author: Marc Durepos <marc@bemade.org>
Date:   Thu Nov 7 10:33:26 2024 -0500

    caldav_sync: updating recurrences in the middle with future works, but it breaks singled out events before it (brings them back into the rrule chain)

commit 421d609abd
Author: Marc Durepos <marc@bemade.org>
Date:   Thu Nov 7 08:08:35 2024 -0500

    caldav_sync: still working on recurrence

commit 0e07d42825
Author: Marc Durepos <marc@bemade.org>
Date:   Wed Nov 6 16:06:43 2024 -0500

    caldav_sync: moving a single event in a recurrence is synchronizing well

commit 14a8b6acf0
Author: Marc Durepos <marc@bemade.org>
Date:   Wed Nov 6 13:53:23 2024 -0500

    caldav_sync: CRUD fully functional, recurring events working with exceptions around changes in mid-sequence with rrule updates

commit 068d1fb29f
Author: Marc Durepos <marc@bemade.org>
Date:   Tue Nov 5 16:42:42 2024 -0500

    caldav_sync: all CRUD operations working. Recurrences working to some degree but not fully.

commit 0104e3897c
Author: Marc Durepos <marc@bemade.org>
Date:   Mon Nov 4 07:48:48 2024 -0500

    caldav_sync: major rework underway. This commit is broken.
2024-11-08 15:49:50 -05:00
xtremxpert
6b3b76e9e7 fix for bemade_helpdesk_one_ticket_per_email/models/mail_thread.py 2024-10-31 13:33:53 -04:00
Marc Durepos
9739dbdd41 recursive_tree_view: make parent field active in views where it isn't if they're recursive 2024-10-30 15:01:42 -04:00
Marc Durepos
da802131e8 recursive_tree_view: fix header levels in index.html 2024-10-30 14:49:50 -04:00
Marc Durepos
65bdbcfd4a recursive_tree_view: add main_screenshot.png to manifest 2024-10-30 14:46:06 -04:00
Marc Durepos
700e2b2ffb recursive_tree_view: rename main_screenshot.png 2024-10-30 14:43:45 -04:00
Marc Durepos
250009514e recursive_tree_view: moved description under static 2024-10-30 14:41:11 -04:00
Marc Durepos
d9879ab235 recursive_tree_view: add icon, images and docs 2024-10-30 14:38:39 -04:00
Marc Durepos
6bab956a54 [ADD] recursive_tree_view: new module for hierarchical models
Allows the viewing of hierarchical models (i.e. parent-child
relationships) directly in a tree view. Simply add the recursive
attribute to the tree tag with `recursive="1"` or `recursive="true"` or
`recursive="True"`.

Parent-child field is autodetected from the model based on the
_parent_name field which is standard in the Odoo ORM.

Currently there is no option for expanding all children, but this may be
added in future versions.
2024-10-30 12:11:55 -04:00
Marc Durepos
4db6dab0eb bemade_partner_email_domain: make it such that subdivisions become 'other' type 2024-10-28 11:22:41 -04:00
Marc Durepos
9d54b662e6 add product_id to equipment form view 2024-10-25 16:00:02 -04:00
Marc Durepos
77cd7eba40 get rid of purpose migration in fsm_equipment to fix migration bug 2024-10-25 10:55:34 -04:00
Marc Durepos
7a11a8fef5 debugging migration on prod 2024-10-25 10:53:35 -04:00
Marc Durepos
87d7cb5b28 [ADD]: rework of fsm_equipment, add client_applications and glue module 2024-10-25 10:44:35 -04:00
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
947b03e125 caldav_sync: fix error when multiple organizer partner matches found 2024-10-09 08:53:49 -04:00
Marc Durepos
0a4a991b32 fixes for caldav_sync 2024-10-09 08:45:31 -04:00
Marc Durepos
c2e3a34d4f caldav_sync: major rework.
- Refactoring
- New test cases (lots of them)
- A bunch of bug fixes based on test case executions
2024-10-07 17:14:18 -04:00
Marc Durepos
786b501c58 bemade_purchase_warn_supplier_overdue: refactoring and tests passing 2024-10-07 09:53:58 -04:00
xtremxpert
9503f1febd bemade_purchase_warn_supplier_overdue 2024-10-04 12:02:28 -04:00
Marc Durepos
48aae5aa69 use Markup instead of body_is_html=True 2024-10-03 10:45:20 +02:00
Marc Durepos
bead0deecd fsm_equipment: store is_service_site field 2024-10-03 10:30:09 +02:00
Marc Durepos
8f3c836a32 hide equipment tab for site contacts 2024-10-02 12:08:40 +02:00
Marc Durepos
188f7afbd1 bemade_fsm: improve visibility of pages on partners based on is_service_site logic 2024-10-02 09:57:50 +02:00
Marc Durepos
306ffae80b make sure html comments are posted with body_is_html=True 2024-09-30 16:24:15 -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
a9199882cb [FIX] bemade_fsm: update partner when SO shipping location changes 2024-09-25 10:19:37 -04:00
Marc Durepos
4e091d3f63 fix for compute_accessible_team_ids on users 2024-09-24 09:47:26 -04:00
Marc Durepos
64034e280c bemade_fsm: fix equipment name_search 2024-09-23 17:22:08 -04:00
Marc Durepos
017bde45dd [FIX] bemade_time_off_follower: validation error
Fixes a validation error that occurred when the alternate follower was
already in the list of recipients for the mail.thread.
2024-09-20 10:14:57 -04:00
Marc Durepos
626d4c5dc2 add more tests for bemade_vendor_pricelist to get coverage up 2024-09-19 10:58:14 -04:00
Marc Durepos
5f6fb6002a bemade_margin_vendor_pricelist: Fix division by zero
Added tests and fixed an edge case where computing the gross profit
resulted in a division by zero. This happened in production with a zero
ordered quantity on a sales order line and a negative product
availability value.

Also added some test cases to ensure that the calculations for GP and GP
% are correct across logically different cases.
2024-09-19 09:52:57 -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