Skip to content

[18.0] [IMP] web_timeline: Add show_only_active_groups option to restrict visible groups to currently shown events #3519

Open
paradoxxxzero wants to merge 5 commits intoOCA:18.0from
akretion:18.0-imp-web_timeline-show-active-groups
Open

[18.0] [IMP] web_timeline: Add show_only_active_groups option to restrict visible groups to currently shown events #3519
paradoxxxzero wants to merge 5 commits intoOCA:18.0from
akretion:18.0-imp-web_timeline-show-active-groups

Conversation

@paradoxxxzero
Copy link
Copy Markdown
Contributor

@paradoxxxzero paradoxxxzero commented Apr 21, 2026

Based on and includes:

This option allows to only show groups (and nested groups) that have currently displayed events.

Also refactor a bit initial group visibility function

…arter|month|week|day

Port of 16.0 commit 751fb9c to 17.0 refactored codebase:
- Convert group IDs from string format to JSON segment objects
- Add _getGroupedDate() for date/datetime grouping with Luxon
- Transform date fields after search_read for :operator specifiers
- Handle selection fields to display labels instead of technical values
- Remove fieldsGet dependency, use model.fields directly
- Add M2M name caching in split_groups
- Update controller group parsing (click, move, add) for JSON format
When creating a new record from a m2m group row, pre-fill the m2m field
with the group's value using the [(6, 0, [id])] command format.
@paradoxxxzero paradoxxxzero force-pushed the 18.0-imp-web_timeline-show-active-groups branch from 2b2f3bf to 4281517 Compare April 21, 2026 10:13
@paradoxxxzero paradoxxxzero marked this pull request as ready for review April 21, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants