From afbc43cc0712b15dff2ce952d498a7f61c35ae58 Mon Sep 17 00:00:00 2001 From: louispaulb Date: Sat, 6 Jun 2026 11:20:11 -0400 Subject: [PATCH] feat: champ Dispatch Job.legacy_activation_url (lien activation STB Ministra, pont Phase 1) Co-Authored-By: Claude Opus 4.8 (1M context) --- frappe-setup/setup_dispatch_custom_fields.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frappe-setup/setup_dispatch_custom_fields.py b/frappe-setup/setup_dispatch_custom_fields.py index 8ed92f5..cd2a5e5 100644 --- a/frappe-setup/setup_dispatch_custom_fields.py +++ b/frappe-setup/setup_dispatch_custom_fields.py @@ -49,6 +49,9 @@ FIELDS = [ ("Dispatch Job", "legacy_dept", "Département legacy (pont)", "Data", None, None, "legacy_ticket_id", {"read_only": 1, "no_copy": 1, "description": "Département osTicket legacy (Installation Fibre / Réparation Fibre / Install-Réparation Télé / Téléphonie / Désinstallation…). Sert au coloriage des cartes dispatch « comme legacy »."}), + ("Dispatch Job", "legacy_activation_url", "Lien activation TV legacy (pont)", "Small Text", None, None, "legacy_dept", + {"read_only": 1, "no_copy": 1, + "description": "Lien connect_ministra.php (activation STB/Ministra) extrait du fil du ticket legacy par le pont. Affiché tel quel dans le dispatch — MÊME lien que le tech reçoit (aucune reconstruction)."}), # ── Service Contract : installation financée (conformité CRTC 2026-43, pas de clawback) ── ("Service Contract", "monthly_regular", "Forfait — prix original (barré)", "Currency", None, None, "monthly_rate", {"description": "Prix mensuel de référence barré (marketing). Le montant facturé reste monthly_rate. Vide/≤ = aucun barré."}),