From e36cfefe84784bff86fde731f8ece5e135bbe634 Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Wed, 25 Sep 2024 18:13:01 +0200
Subject: [PATCH] [UPD] add alert message on scop address wizard

---
 wizard/scop_address_wizard.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/wizard/scop_address_wizard.xml b/wizard/scop_address_wizard.xml
index abd1d6e..a4f99d4 100644
--- a/wizard/scop_address_wizard.xml
+++ b/wizard/scop_address_wizard.xml
@@ -6,6 +6,11 @@
         <field name="model">scop.address.wizard</field>
         <field name="arch" type="xml">
             <form string="Nouvelle Période">
+                <div class="alert alert-danger" role="alert" style="font-size: 1.4rem;">
+                    L’adresse renseignée ici doit impérativement être celle du KBIS !
+                    <br />
+                    Ce formulaire ne peut pas être utilisé pour une adresse postale qui ne soit pas celle du siège.
+                </div>
                 <group name="period" string="Période" col="2">
                         <field name="start" required="1" />
                         <field name="previous_period_id" invisible="1" />
-- 
GitLab