Syncing from upstream OCA/helpdesk (18.0)#277
Merged
Conversation
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.
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/
Codecov Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt_gitbot