Skip to content

Conversation

@sybdeb
Copy link

@sybdeb sybdeb commented Dec 22, 2025

Description

Migration of helpdesk_mgmt module from 18.0 to 19.0.

This migration addresses the following Odoo 19.0 framework changes:

Mail Threading API Updates

  • Updated _message_get_suggested_recipients() to accept flexible parameters using **kwargs for compatibility with Odoo 19's varying parameter requirements
  • Updated _notify_get_reply_to() to include new author_id parameter
  • Changed _message_add_suggested_recipient() to _message_add_suggested_recipients() (plural) with updated signature using email parameter instead of partner

Field Requirements

  • Changed name and description fields from required=True to required=False to support ticket creation via email (subject line populates these fields)

OCA Compliance

  • Version bumped to 19.0.1.0.0
  • Removed migrations folder as per OCA guidelines
  • Pre-commit checks passed

Testing

  • Module tested in production environment
  • All ticket creation workflows verified (portal, email, backend)
  • Mail threading and notifications working correctly

Related Issues

Closes #xxx (if applicable - replace with actual issue number)

mymage and others added 30 commits December 22, 2025 12:50
Currently translated at 100.0% (245 of 245 strings)

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

Translation: helpdesk-16.0/helpdesk-16.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-16-0/helpdesk-16-0-helpdesk_mgmt/it/
This improvement simply uses new _rec_names_search model attribute for helpdesk
tickets, so in Many2one fields now it's possible to search across ticket title.
- Remove default
- Centralize method for determining applicable stages
- Make compatible with multi-company
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

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

Translation: helpdesk-16.0/helpdesk-16.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-16-0/helpdesk-16-0-helpdesk_mgmt/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

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

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

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

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

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

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

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

Translation: helpdesk-16.0/helpdesk-16.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-16-0/helpdesk-16-0-helpdesk_mgmt/it/
OCA-git-bot and others added 28 commits December 22, 2025 12:51
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/
Currently translated at 100.0% (290 of 290 strings)

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/it/
Currently translated at 75.5% (219 of 290 strings)

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/tr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/
Currently translated at 100.0% (292 of 292 strings)

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/it/
Currently translated at 96.2% (281 of 292 strings)

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/tr/
… tickets from the portal

Previously, the portal user who created the ticket was defined as the ticket user (completely incorrect)

TT59493
Previously, when creating a ticket, the user who was creating it was defined
as the user, even if no team was defined; now, that logic has been removed
from _compute_user_id() and moved a configuration option that allows each
company to decide whether tickets are self-assigned or not.

TT59493
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/
Currently translated at 100.0% (295 of 295 strings)

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/it/
Add copy=False to assigned_date and closed_date fields
Currently translated at 17.6% (52 of 295 strings)

Translation: helpdesk-18.0/helpdesk-18.0-helpdesk_mgmt
Translate-URL: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt/lv/
Co-authored-by: Pedro M. Baeza <pedro.baeza@tecnativa.com>
@sybdeb sybdeb changed the title 19.0 mig helpdesk mgmt [19.0][MIG] helpdesk_mgmt: Migration to 19.0 Dec 22, 2025
@pedrobaeza
Copy link
Member

Please check CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.