Stéphan Sainléger 6b8906325e [FIX] helpdesk_user_default_ticket_team: handle partner without linked user
``create`` accessed ``partner.user_ids[0]`` which raised ``IndexError``
when the ticket's partner had no linked user (e.g. a plain contact).

Use ``partner.user_ids[:1]`` so a partner without a user yields an empty
recordset, which the following ``if not user`` guard handles gracefully,
leaving the ticket's team untouched.
2026-06-25 15:39:23 +02:00
2024-10-02 18:20:11 +02:00
Description
No description provided
AGPL-3.0 503 KiB
Languages
Python 100%