From d2a3c06845e16cd6c1d4fcf0c2f813767f2265df Mon Sep 17 00:00:00 2001 From: Edwin Gonzales Date: Mon, 7 Sep 2026 18:21:17 +0800 Subject: [PATCH 1/2] fix(spp_user_roles,spp_area): follow base_user_role rename of role_ids to user_role_ids OCA/server-backend #428 (merged 2026-09-04) renamed the computed res.users.role_ids One2many to user_role_ids, in the model and in the form, search and list views of base_user_role. Two of our view inheritances anchored their xpath on the old name, so spp_user_roles failed to install against the current 19.0 head of base_user_role ("Element cannot be located in parent view") and took every module that depends on it down with it. Rename both anchors to user_role_ids and bump spp_user_roles to 19.0.2.0.2 and spp_area to 19.0.2.0.3. --- spp_area/__manifest__.py | 2 +- spp_area/readme/HISTORY.md | 4 ++++ spp_area/views/user.xml | 2 +- spp_user_roles/__manifest__.py | 2 +- spp_user_roles/models/user.py | 2 +- spp_user_roles/readme/HISTORY.md | 4 ++++ spp_user_roles/views/user.xml | 4 ++-- 7 files changed, 14 insertions(+), 6 deletions(-) diff --git a/spp_area/__manifest__.py b/spp_area/__manifest__.py index 3c1b88c7f..9780365de 100644 --- a/spp_area/__manifest__.py +++ b/spp_area/__manifest__.py @@ -6,7 +6,7 @@ "name": "OpenSPP Area Management", "summary": "Establishes direct associations between OpenSPP registrants, beneficiary groups, and their corresponding geographical administrative areas. It validates registrant-area linkages against official area types, ensuring data integrity and enabling targeted program delivery and analysis.", "category": "OpenSPP/Core", - "version": "19.0.2.0.2", + "version": "19.0.2.0.3", "sequence": 1, "author": "OpenSPP.org", "website": "https://github.com/OpenSPP/OpenSPP2", diff --git a/spp_area/readme/HISTORY.md b/spp_area/readme/HISTORY.md index 6cf249b06..a7e1900f4 100644 --- a/spp_area/readme/HISTORY.md +++ b/spp_area/readme/HISTORY.md @@ -1,3 +1,7 @@ +### 19.0.2.0.3 + +- fix(views): follow the `base_user_role` rename of `res.users.role_ids` to `user_role_ids` (OCA/server-backend #428). The user form override inserted the center-areas group before `role_ids`, which no longer exists in the parent view, so the module failed to install. + ### 19.0.2.0.2 - fix(security): grant `group_area_viewer` (read-only) to spp_user_roles support roles (Global Support, Global Support Manager, Local Support) so they can browse area records per the OP#951 menu audit. diff --git a/spp_area/views/user.xml b/spp_area/views/user.xml index b6db7bc36..188e0cab8 100644 --- a/spp_area/views/user.xml +++ b/spp_area/views/user.xml @@ -16,7 +16,7 @@ invisible="role_type != 'local'" /> - + - + res.users.list.inherit.spp.user.roles res.users 99 - + From 21c683723ffdc0a03fbd477c38e14330fdb8a8e2 Mon Sep 17 00:00:00 2001 From: Edwin Gonzales Date: Mon, 7 Sep 2026 18:31:41 +0800 Subject: [PATCH 2/2] docs: regenerate spp_user_roles and spp_area READMEs from CI's generator --- spp_area/README.rst | 9 +++++++++ spp_area/static/description/index.html | 14 ++++++++++++-- spp_user_roles/README.rst | 10 ++++++++++ spp_user_roles/static/description/index.html | 13 ++++++++++++- 4 files changed, 43 insertions(+), 3 deletions(-) diff --git a/spp_area/README.rst b/spp_area/README.rst index 77d6f57bc..28e2e9fb5 100644 --- a/spp_area/README.rst +++ b/spp_area/README.rst @@ -140,6 +140,15 @@ Dependencies Changelog ========= +19.0.2.0.3 +~~~~~~~~~~ + +- fix(views): follow the ``base_user_role`` rename of + ``res.users.role_ids`` to ``user_role_ids`` (OCA/server-backend #428). + The user form override inserted the center-areas group before + ``role_ids``, which no longer exists in the parent view, so the module + failed to install. + 19.0.2.0.2 ~~~~~~~~~~ diff --git a/spp_area/static/description/index.html b/spp_area/static/description/index.html index a75ab1501..a59146a2b 100644 --- a/spp_area/static/description/index.html +++ b/spp_area/static/description/index.html @@ -537,6 +537,16 @@

Changelog

+

19.0.2.0.3

+
    +
  • fix(views): follow the base_user_role rename of +res.users.role_ids to user_role_ids (OCA/server-backend #428). +The user form override inserted the center-areas group before +role_ids, which no longer exists in the parent view, so the module +failed to install.
  • +
+
+

19.0.2.0.2

  • fix(security): grant group_area_viewer (read-only) to @@ -545,7 +555,7 @@

    19.0.2.0.2

    audit.
-
+

19.0.2.0.1

  • fix(security): add a global ir.rule on res.partner that @@ -557,7 +567,7 @@

    19.0.2.0.1

    domain is a no-op for users without center areas (global roles).
-
+

19.0.2.0.0

  • Initial migration to OpenSPP2
  • diff --git a/spp_user_roles/README.rst b/spp_user_roles/README.rst index dd1b32577..28f061af0 100644 --- a/spp_user_roles/README.rst +++ b/spp_user_roles/README.rst @@ -129,6 +129,16 @@ Dependencies Changelog ========= +19.0.2.0.2 +~~~~~~~~~~ + +- fix(views): follow the ``base_user_role`` rename of + ``res.users.role_ids`` to ``user_role_ids`` (OCA/server-backend #428). + The list-view override anchored its xpath on ``role_ids``, so the + module failed to install against the current ``19.0`` head of + ``base_user_role`` ("Element cannot be located in parent view") and + took every dependent module down with it. + 19.0.2.0.1 ~~~~~~~~~~ diff --git a/spp_user_roles/static/description/index.html b/spp_user_roles/static/description/index.html index 68f7ea2e9..2be985235 100644 --- a/spp_user_roles/static/description/index.html +++ b/spp_user_roles/static/description/index.html @@ -503,6 +503,17 @@

    Changelog

+

19.0.2.0.2

+
    +
  • fix(views): follow the base_user_role rename of +res.users.role_ids to user_role_ids (OCA/server-backend #428). +The list-view override anchored its xpath on role_ids, so the +module failed to install against the current 19.0 head of +base_user_role (“Element cannot be located in parent view”) and +took every dependent module down with it.
  • +
+
+

19.0.2.0.1

  • fix(role): allow assigning groups to a brand-new role in a single @@ -517,7 +528,7 @@

    19.0.2.0.1

    base_user_role for the same _inherits cache-clearing bug.
-
+

19.0.2.0.0

  • Initial migration to OpenSPP2