The flat write_date-sorted list was hard to scan with 50+ tickets — solved ones were intermixed with active ones, and there was no signal for priority. Bucket each ticket server-side into 'critical' (open + priority High/Urgent), 'solved' (stage marked fold=True on central) or 'open' (everything else), and render three labelled sections in the dialog with sticky headers, count badges, and per-group accent colours. Backend keeps its write_date desc order so latest is always at top within each bucket. Bucketing uses helpdesk.stage.fold (not the stage name) so renaming "Solved" to "Done" on the central won't quietly mis-categorise rows. Adds bucket_ticket() in utils.py with unit tests covering the folded-wins-over-priority precedence and the missing-priority fallback. Also surfaces a small Urgent (triangle) / High (arrow) icon on each row so a critical ticket reads at a glance even after a user scrolls past the section header. Bumps fusion_helpdesk to 19.0.1.6.0.
49 lines
1.8 KiB
Python
49 lines
1.8 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2026 Nexa Systems Inc.
|
|
# License OPL-1 (Odoo Proprietary License v1.0)
|
|
{
|
|
'name': 'Fusion Helpdesk Reporter',
|
|
'version': '19.0.1.6.0',
|
|
'category': 'Productivity',
|
|
'summary': 'One-click in-app bug reporting & feature requesting — '
|
|
'auto-creates a helpdesk.ticket on a central Odoo Helpdesk.',
|
|
'description': """
|
|
Fusion Helpdesk Reporter
|
|
========================
|
|
A standalone module that gives every backend user a quick "Report an
|
|
Issue / Request a Feature" button in the Odoo top systray.
|
|
|
|
Submissions are forwarded over JSON-RPC / XML-RPC to a central Odoo
|
|
instance (typically the support shop's main Odoo) and become
|
|
`helpdesk.ticket` records with screenshots, file attachments, and
|
|
diagnostic context (URL, user agent, current user/company, error
|
|
code) automatically captured.
|
|
|
|
Designed to ship alongside any other Fusion / Nexa Systems client
|
|
module bundle. No dependencies on the rest of Fusion Plating.
|
|
""",
|
|
'author': 'Nexa Systems Inc.',
|
|
'website': 'https://www.nexasystems.ca',
|
|
'license': 'OPL-1',
|
|
'depends': ['base', 'web', 'mail'],
|
|
'data': [
|
|
'security/fusion_helpdesk_groups.xml',
|
|
'security/ir.model.access.csv',
|
|
'data/ir_config_parameter_data.xml',
|
|
'views/res_config_settings_views.xml',
|
|
],
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'fusion_helpdesk/static/src/scss/fusion_helpdesk.scss',
|
|
'fusion_helpdesk/static/src/xml/fusion_helpdesk_systray.xml',
|
|
'fusion_helpdesk/static/src/xml/fusion_helpdesk_dialog.xml',
|
|
'fusion_helpdesk/static/src/js/fusion_helpdesk_systray.js',
|
|
'fusion_helpdesk/static/src/js/fusion_helpdesk_dialog.js',
|
|
],
|
|
},
|
|
'images': ['static/description/icon.png'],
|
|
'installable': True,
|
|
'auto_install': False,
|
|
'application': False,
|
|
}
|