Skip to content

[17.0][MIG] web refresh from backend#3469

Open
ivs-cetmix wants to merge 4 commits intoOCA:17.0from
cetmix:17.0-t5286-web_refresh_from_backend-mig
Open

[17.0][MIG] web refresh from backend#3469
ivs-cetmix wants to merge 4 commits intoOCA:17.0from
cetmix:17.0-t5286-web_refresh_from_backend-mig

Conversation

@ivs-cetmix
Copy link
Member

Standard migration from 16.0.
Added some improvements in a separate commit - let me know if needed to be squashed 😉

DemchukM and others added 4 commits March 9, 2026 21:50
Add a technical helper that allows triggering UI view reloads
from the backend for selected users and records.

This enables instant UI updates when backend data changes,
for example refreshing CRM kanban and form views for salespeople
as soon as a lead changes its stage.

The helper reload_views is added to res.users and supports:
- limiting reload by model
- selecting specific view types
- reloading only when specific record IDs are present

This should be used carefully, as reloading form views may
discard unsaved user changes.

Task: 5066
Standard migration to 17.0.

Task: 5286
- Coalesce notifications in case multiple notifications are sent in a
  short period of time.
  This allows to avoid multiple refreshes of the same view and potential
  UI glitches.
- Use explicitly created users in tests. Using demo data was a bad idea,
  sorry.

Task: 5286
@ivs-cetmix
Copy link
Member Author

Dear @etobella and anyone who knows OWL really well (eg @binhexsystems ) - would appreciate your review so we could proceed further with the migration to 18.0 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants