Skip to content

Syncing from upstream OCA/helpdesk (18.0)#277

Merged
bt-admin merged 16 commits into
brain-tec:18.0from
OCA:18.0
Jun 12, 2026
Merged

Syncing from upstream OCA/helpdesk (18.0)#277
bt-admin merged 16 commits into
brain-tec:18.0from
OCA:18.0

Conversation

@bt-admin

Copy link
Copy Markdown

bt_gitbot

david-banon-tecnativa and others added 16 commits May 25, 2026 12:06
This module adds pre-configured ticket description templates based on category

This commit introduces the following enhancements:
- Adds the ability to pre-configure a helpdesk ticket's description template based on the selected category.
- Users can now define ticket description templates within Helpdesk-->Configuration-->Categories.
- Categories can be assigned to specific teams, allowing pre-defined templates to be triggered during ticket creation.

Task: 3829
Currently translated at 100.0% (4 of 4 strings)

Translation: helpdesk-16.0/helpdesk-16.0-helpdesk_mgmt_template
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-16-0/helpdesk-16-0-helpdesk_mgmt_template/it/
Currently translated at 100.0% (4 of 4 strings)

Translation: helpdesk-16.0/helpdesk-16.0-helpdesk_mgmt_template
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-16-0/helpdesk-16-0-helpdesk_mgmt_template/pt_BR/
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Update xpath expression `//tree` → `//list` in
helpdesk_ticket_category_views.xml to match the parent view rename in 18.0:
helpdesk_mgmt's view_helpdesk_category_tree now uses <list> instead of
<tree> as its root tag, so the inheriting xpath had to match or the
override would silently no-op.

Add `test_copy_resets_description` to cover the `copy()` override on
`helpdesk.ticket`. The override exists so duplicating a ticket doesn't
carry over case-specific notes from the source description; without a test,
a future refactor could silently regress it. Verifies both branches:
caller-default reset to `<p></p>`, and explicit `default={"description":
...}` respected.
Signed-off-by pedrobaeza
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_product
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_product/
Signed-off-by marcelsavegnago
@bt-admin bt-admin added the 18.0 label Jun 12, 2026
@bt-admin bt-admin merged commit 50cbbbe into brain-tec:18.0 Jun 12, 2026
4 checks passed
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.73077% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.14%. Comparing base (3d452e0) to head (fc563f5).
⚠️ Report is 136 commits behind head on 18.0.

Files with missing lines Patch % Lines
helpdesk_product/models/product.py 46.87% 17 Missing ⚠️
helpdesk_mgmt_template/models/helpdesk_ticket.py 91.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             18.0     #277      +/-   ##
==========================================
- Coverage   94.45%   94.14%   -0.31%     
==========================================
  Files         201      207       +6     
  Lines        3964     4064     +100     
  Branches      283      293      +10     
==========================================
+ Hits         3744     3826      +82     
- Misses        149      167      +18     
  Partials       71       71              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

9 participants