The customer-followup ship left two papercuts that hid 51 historical
tickets from the entech owner:
1. group_reporter_admin had zero members on install — the new XML record
created the group but never granted it. Extend base.group_system's
implied_ids so every system administrator transparently inherits the
admin view of the embedded inbox on install / upgrade. (4, id) tuple
is additive — never replaces base's existing implications.
2. Tickets created before this feature shipped had NULL
x_fc_client_label and NULL partner_email, so the scope filter
excluded them all. The reporter identity was still recoverable from
the description HTML's diag block. Backfill recipe is captured in
CLAUDE.md so future deployments can apply the same one-shot UPDATE
without re-deriving the regex.
Bumps fusion_helpdesk to 19.0.1.5.0. Verified live on entech: all six
base.group_system members now return True for
has_group('fusion_helpdesk.group_reporter_admin').
33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2026 Nexa Systems Inc.
|
|
License OPL-1
|
|
-->
|
|
<odoo>
|
|
<!--
|
|
Deployment-level admin for the embedded ticket inbox. Members see
|
|
ALL tickets filed from this deployment (scoped by x_fc_client_label)
|
|
in the "My Tickets" tab; non-members see only their own. The gate is
|
|
enforced server-side in the controller via has_group().
|
|
Odoo 19: res.groups has NO `users`/`category_id` fields — keep minimal.
|
|
-->
|
|
<record id="group_reporter_admin" model="res.groups">
|
|
<field name="name">Helpdesk Reporter Admin</field>
|
|
<field name="comment">Can view all tickets filed from this deployment in the in-app helpdesk inbox.</field>
|
|
</record>
|
|
|
|
<!--
|
|
Auto-grant this group to every Odoo system administrator
|
|
(base.group_system) so the owner of the deployment can immediately
|
|
see the "All (deployment)" toggle on a fresh install. Without this
|
|
the group has zero members on install and nobody can use the admin
|
|
view until an admin manually adds themselves — which is exactly the
|
|
regression that hid 51 historical tickets from the entech owner.
|
|
Uses tuple (4, id) so we extend, never replace, base.group_system's
|
|
existing implied_ids.
|
|
-->
|
|
<record id="base.group_system" model="res.groups">
|
|
<field name="implied_ids" eval="[(4, ref('fusion_helpdesk.group_reporter_admin'))]"/>
|
|
</record>
|
|
</odoo>
|