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.
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.
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.