From f61f99df18ddb3cd4f05d7c1fd13eb9939b3322d Mon Sep 17 00:00:00 2001 From: louispaulb Date: Wed, 3 Jun 2026 18:31:58 -0400 Subject: [PATCH] =?UTF-8?q?Custom=20Field=20monthly=5Fregular=20(Service?= =?UTF-8?q?=20Contract):=20prix=20forfait=20original=20barr=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- frappe-setup/setup_dispatch_custom_fields.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frappe-setup/setup_dispatch_custom_fields.py b/frappe-setup/setup_dispatch_custom_fields.py index b1eb938..3204936 100644 --- a/frappe-setup/setup_dispatch_custom_fields.py +++ b/frappe-setup/setup_dispatch_custom_fields.py @@ -33,7 +33,9 @@ FIELDS = [ ("Dispatch Job", "booking_token", "Jeton RDV client", "Data", None, None, "booking_status", {"read_only": 1, "no_copy": 1}), # ── Service Contract : installation financée (conformité CRTC 2026-43, pas de clawback) ── - ("Service Contract", "install_fee", "Installation financée ($)", "Currency", None, None, "monthly_rate", + ("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é."}), + ("Service Contract", "install_fee", "Installation financée ($)", "Currency", None, None, "monthly_regular", {"description": "Install financée sur la durée (vraie créance, pas une promo). Ex: 240 standard / 120 simple."}), ("Service Contract", "install_regular", "Installation — valeur affichée (barrée)", "Currency", None, None, "install_fee", {"description": "Prix de référence barré (marketing), ex. 360. Le montant réellement financé/dû reste install_fee (ex. 240)."}),