Skip to content

[20.0][MIG] sentry_client: Migration from 18.0 to 20.0 - #3804

Open
dnplkndll wants to merge 7 commits into
OCA:20.0from
ledoent:20.0-mig-sentry_client
Open

dnplkndll wants to merge 7 commits into
OCA:20.0from
ledoent:20.0-mig-sentry_client

Conversation

@dnplkndll

@dnplkndll dnplkndll commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Port of sentry_client from 18.0 to 20.0. #3622 remains the 19.0 port.

One upgrade consequence that is not visible in the diff: the odoo.conf fallback now reads the [sentry] section, so a site that configured 18.0's flat sentry_* keys under [options] has to move them.

Depends on odoo/odoo#287582.

AI-assisted (Claude Code); every change reviewed, tested, and owned by the author.

dnplkndll and others added 6 commits October 24, 2026 14:25
…nfig

Backport of the 19.0 module (OCA#3622) to 18.0. Identical
feature set; only the API surfaces that changed between series are
adapted:

- `user.all_group_ids` (19.0) → `user.groups_id` (18.0). 19.0 split the
  groups field into a stored direct collection plus a computed
  transitive closure; on 18.0 `groups_id` already returns the full set.
- `group.privilege_id.category_id` (19.0) → `group.category_id` (18.0).
  19.0 introduced the privilege layer between groups and categories;
  on 18.0 groups carry the category directly.
- Config-file fallback reads the top-level `sentry_*` options from
  odoo.conf's `[options]` section — the layout the server-side `sentry`
  module actually uses on 18.0 (the dedicated `[sentry]` section only
  exists from 19.0).
- Manifest version `18.0.1.0.0`.

Everything else — Connection UI block (Browser DSN / Environment /
Release) with odoo.conf fallback, four tier toggles with sample-rate
knobs, vendored Sentry SDK under `static/lib`, the `error_handlers`
registry entry as the single backend capture path, per-tab UUID +
`workflow_id` + `surface` tags, per-user replay opt-out, and the public
`/sentry_client/config.json` endpoint — ports verbatim.

The OWL `error_handlers` registry, settings `<block>`/`<setting>`
pattern, and asset bundle keys are identical between 18.0 and 19.0.

The systray feedback launcher is an `o_nav_entry` button with
`fa-bullhorn` (Sentry's own feedback iconography) — deliberately not
`fa-bug`, which is the debug-mode systray icon beside it.

Assisted-by: Claude Fable 5
Assisted-by: Claude Opus 5
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Assisted-by: Claude Opus 5
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Assisted-by: Claude Opus 5
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Assisted-by: Claude Opus 5
@dnplkndll
dnplkndll force-pushed the 20.0-mig-sentry_client branch from d5e8adf to bb5aebb Compare October 24, 2026 18:53
@dnplkndll

Copy link
Copy Markdown
Contributor Author

@ChristophAbenthungCibex @isikerkan 20.0 port on the sentry client.

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