diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e1855aa..36c6ea9 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,14 +1,10 @@
-
+
-
-
-
-
@@ -73,13 +69,6 @@
1680804787304
-
- 1690731459970
-
-
-
- 1690731459971
-
1690918242182
@@ -416,7 +405,14 @@
1694620818831
-
+
+ 1694717319294
+
+
+
+ 1694717319295
+
+
@@ -431,7 +427,6 @@
-
@@ -456,6 +451,7 @@
-
+
+
\ No newline at end of file
diff --git a/Log/log_file.log b/Log/log_file.log
index 2889a5f..bde4600 100644
--- a/Log/log_file.log
+++ b/Log/log_file.log
@@ -1805077,3 +1805077,1263 @@ INFO:root:2023-09-14 20:47:49.739739 : Security check : IP adresse '127.0.0.1'
INFO:root:2023-09-14 20:47:49.746151 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [14/Sep/2023 20:47:49] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [14/Sep/2023 20:47:49] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:16:18.601477 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:16:18.601477 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:16:18.602474 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:16:18.602474 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:16:18.602474 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:16:35.201434 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:16:35.201434 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:16:35.201434 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:16:35.201434 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:16:35.201434 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 09:18:01.641904 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:01.643043 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:01.645086 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:01] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:01] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:01] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:02.775989 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:02.779014 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:02] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.492625 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:03.498189 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.503021 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:03.507789 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.517008 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:03.523040 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.530632 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.535940 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:03.538954 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.547052 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.552613 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.558628 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.566628 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.571745 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:03.574912 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.581155 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.591698 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.595697 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:03.601695 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:03.609696 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:07.417954 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:07] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:07.596570 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:07.600582 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:07.605443 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:07.610911 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:07] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:07] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:07.626491 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:07.687910 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:07] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:18:11.662325 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:11.666596 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:11.670367 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:18:11.675752 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:11] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:11] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:18:11] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:26:27.846871 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:27.848748 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:27.853761 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:27.857765 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:27] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:26:36.103369 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:36.106685 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:36.108786 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:26:36.121856 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:26:36.267399 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:36.269765 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:36.271779 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:36.277254 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:36] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:36] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:36] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:26:40.215923 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:26:40.220191 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:40] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:40] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:26:51.762170 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:51] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:26:52.612786 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:26:52] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:30:55.461809 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:30:55] "[32mGET /myclass/api/Convert_Quotation_to_Order HTTP/1.1[0m" 308 -
+INFO:root:2023-09-15 09:30:55.469841 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:30:55] "GET /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:33:01.099954 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:33:01.099954 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:33:01.099954 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:33:01.099954 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:33:01.099954 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 09:33:01.153461 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:33:01.156451 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:33:01.159437 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:33:01.163992 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:33:01.169600 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:33:01.173357 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:33:01.183913 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:01] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:01] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:33:01.190597 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:01] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:01] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:33:29.656004 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:33:29.659921 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:29] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:29] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:33:38.706227 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:38] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:33:39.003840 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:33:39] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:35:24.057135 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:35:24.057135 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:35:24.057135 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:35:24.057135 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:35:24.057135 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 09:35:25.980020 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:35:25.983614 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:35:25.985624 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:35:25] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:35:25.995499 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:35:25] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:35:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:35:26.134057 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:35:26.138082 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:35:26.140575 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:35:26.146129 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:35:26] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:35:26] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:35:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:35:26] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:36:03.280108 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:36:03] "[32mGET /myclass/api/Convert_Quotation_to_Order HTTP/1.1[0m" 308 -
+INFO:root:2023-09-15 09:36:03.287558 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:36:03] "GET /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:38:36.946882 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:38:36.947886 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:38:36.947886 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:38:36.947886 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:38:36.947886 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:44:07.730831 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:44:07.736839 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:44:07.737823 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:44:07.737823 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:44:07.737823 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:46:44.667383 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:46:44.667383 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:46:44.667383 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:46:44.667383 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:46:44.667383 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 09:46:44.714463 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:46:44.717461 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:46:44.719978 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:46:44.723005 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:46:44.728343 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:46:44.734275 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:46:44.737816 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:46:44.740816 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:44] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:44] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:46:49.299943 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:46:49.302943 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:49] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:49] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:46:55.128218 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:55] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:46:55.394703 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:46:55] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:50:50.286677 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:50:50.289678 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:50:50.292677 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:50:50.299678 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:50] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:50:50.431122 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:50:50.433420 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:50:50.436910 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:50:50.442780 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:50] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:50] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:50] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:50:54.819823 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:50:54.823303 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:54] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:50:54] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:51:47.062632 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:51:47] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:51:50.367874 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:51:50] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:51:50.396788 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:51:50] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 09:52:13.315791 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:52:13] "[32mGET /myclass/api/Convert_Quotation_to_Order HTTP/1.1[0m" 308 -
+INFO:root:2023-09-15 09:52:13.323216 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:52:13.998417 : Convert_Quotation_to_Order Le devis Devis_1 a été correctement convertie en commande avec le numero : Order_35
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:52:13] "GET /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:55:04.029380 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:55:04.029380 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:55:04.029380 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:55:04.029380 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:55:04.029380 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:56:45.621584 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:56:45.621584 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:56:45.621584 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:56:45.622579 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:56:45.622579 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 09:56:45.667550 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:56:45] "[32mGET /myclass/api/Convert_Quotation_to_Order HTTP/1.1[0m" 308 -
+INFO:root:2023-09-15 09:56:45.674536 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:56:46.257572 : Convert_Quotation_to_Order Le devis Devis_1 a été correctement convertie en commande avec le numero : Order_36
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:56:46] "[35m[1mGET /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1[0m" 500 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:57:41.016148 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:57:41.016148 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:57:41.016148 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:57:41.016148 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:57:41.016148 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 09:57:47.760232 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:57:47] "[32mGET /myclass/api/Convert_Quotation_to_Order HTTP/1.1[0m" 308 -
+INFO:root:2023-09-15 09:57:47.765460 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 09:57:48.380469 : Convert_Quotation_to_Order Le devis Devis_1 a été correctement convertie en commande avec le numero : Order_37
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 09:57:48] "GET /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 09:59:48.233605 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 09:59:48.233605 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 09:59:48.233605 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 09:59:48.233605 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 09:59:48.233605 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 10:00:24.619906 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 10:00:24.619906 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 10:00:24.619906 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 10:00:24.619906 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 10:00:24.619906 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 10:00:51.318068 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 10:00:51.318068 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 10:00:51.318068 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 10:00:51.318068 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 10:00:51.318068 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 10:11:17.826951 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 10:11:17.826951 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 10:11:17.827950 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 10:11:17.827950 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 10:11:17.827950 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 10:11:26.087065 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 10:11:26.087065 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 10:11:26.087065 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 10:11:26.087065 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 10:11:26.087065 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 10:13:45.060210 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 10:13:45.060210 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 10:13:45.061199 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 10:13:45.061199 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 10:13:45.061199 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 10:14:08.742923 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:08] "[32mGET /myclass/api/Convert_Quotation_to_Order HTTP/1.1[0m" 308 -
+INFO:root:2023-09-15 10:14:08.749598 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:09.369397 : Convert_Quotation_to_Order - Le statut du devis n'est pas 'en cours'
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:09] "GET /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:24.813112 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:24.816392 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:24] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:24.820565 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:24.826605 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:24] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:24.978141 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:24.981896 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:24.986102 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:24.988144 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:24] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:24] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:25] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:28.709960 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:28.713958 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:28] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:28] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:36.933440 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:36] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:38.720746 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:38] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:43.125575 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:43.128360 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:43] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:43] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:47.317383 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:47] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:47.774676 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:47] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:14:52.445051 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:14:52.449064 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:52] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:14:52] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:18:07.914459 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:18:07.918133 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:18:07.922640 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:18:07.926769 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:18:07] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:18:07] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:18:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:18:07] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:20:01.368075 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:20:01.371076 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:20:01.374890 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:20:01.381053 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:20:01] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:20:01] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:20:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:20:01] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:20:17.988642 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:20:17.992147 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:20:17.995161 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:20:17.999199 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:20:18] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:20:18] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:20:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:20:18] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:21:19.367342 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:21:19.370370 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:21:19.374784 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:21:19] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:21:19.379097 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:21:19] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:21:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:21:19] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:23:15.069885 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:23:15.073889 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:23:15.078892 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:23:15] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:23:15.084893 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:23:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:23:15] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:23:15] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:26:05.887136 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:26:05.893269 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:26:05.900310 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:26:05] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:26:05.907218 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:26:05] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:26:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:26:05] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:26:37.928070 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:26:37.932076 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:26:37.936076 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:26:37] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:26:37.942077 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:26:37] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:26:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:26:37] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:27:04.490123 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:27:04.493746 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:27:04.498268 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:27:04.502133 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:04] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:04] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:04] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:27:28.507293 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:27:28.515028 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:28] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:27:28.519185 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:27:28.522194 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:28] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:28] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:27:41.642355 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:27:41.646562 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:27:41.650120 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:27:41.654219 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:41] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:27:41] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:28:26.900777 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:28:26.907776 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:28:26.909774 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:28:26] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:28:26.918772 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:28:26] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:28:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:28:26] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 10:29:46.976994 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:29:46.983026 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:29:46.988029 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 10:29:46.991030 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:29:46] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:29:46] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:29:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 10:29:47] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 10:33:13.257604 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 10:33:13.258978 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 10:33:13.258978 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 10:33:13.258978 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 10:33:13.258978 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 10:34:33.133918 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 10:34:33.134917 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 10:34:33.134917 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 10:34:33.134917 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 10:34:33.134917 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:00:14.244826 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:00:14.244826 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:00:14.244826 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:00:14.244826 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:00:14.244826 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:00:23.714511 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:00:23.714511 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:00:23.714511 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:00:23.715972 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:00:23.715972 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:00:46.863580 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:00:46.867733 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:00:46.870723 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:46] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:46] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:00:46.882350 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:00:47.061784 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:00:47.066774 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:00:47.070778 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:47] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:00:47.078055 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:47] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:47] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:00:50.700532 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:00:50.704543 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:50] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:00:50] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:26.155009 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:01:26.160218 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:26] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:26] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:26.170672 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:01:26.175710 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:26] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:36.261843 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:01:36.265227 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:36] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:36] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:41.390357 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:01:41.892681 : Send_Partner_Order_By_Email - La valeur 'order_header_id' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:41] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:42.417271 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:42] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:42.436281 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:42] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:52.937063 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:01:52.940070 : Send_Partner_Order_By_Email - La valeur 'order_header_id' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:52] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:53.165736 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:53] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:01:53.188960 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:01:53] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:02:08.655835 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:02:08.659115 : Send_Partner_Order_By_Email - La valeur 'order_header_id' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:02:08] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:02:08.828515 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:02:08] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:02:08.851521 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:02:08] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:02:42.444648 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:02:42.449088 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:02:42.453798 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:02:42.458507 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:02:42] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:02:42] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:02:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:02:42] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:04.061844 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:04.081681 : Confirm_Partner_Order_Header_And_Lines -'NoneType' object is not subscriptable - Line : 2199
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:04] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:04.646530 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:04.650736 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:04] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:04] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:15.661551 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:15] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:15.666877 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:15.669367 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:15.672600 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:15] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:15.831537 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:15.835540 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:15.839556 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:15.841615 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:15] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:15] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:15] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:20.522549 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:20.526935 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:20] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:20] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:26.572650 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:03:26.588058 : Confirm_Partner_Order_Header_And_Lines -'NoneType' object is not subscriptable - Line : 2199
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:26] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:27.501122 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:27] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:03:27.524804 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:03:27] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:04:31.801219 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:04:31.801219 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:04:31.801219 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:04:31.801219 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:04:31.801219 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:04:31.868739 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:04:31] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:05:32.758148 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:05:32.758148 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:05:32.758148 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:05:32.758148 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:05:32.758148 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:05:32.796282 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:05:32] "[32mGET /myclass/api/Confirm_Partner_Order_Header_And_Lines HTTP/1.1[0m" 308 -
+INFO:root:2023-09-15 11:05:32.804349 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:05:33.353344 : Confirm_Partner_Order_Header_And_Lines Le champ 'order_id' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:05:33] "GET /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:05:54.332562 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:05:54] "[32mGET /myclass/api/Confirm_Partner_Order_Header_And_Lines HTTP/1.1[0m" 308 -
+INFO:root:2023-09-15 11:05:54.338679 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:05:54] "GET /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:06:36.052926 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:06:36.056211 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:06:36.059222 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:06:36.070541 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:06:36.244616 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:06:36.248636 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:06:36.253632 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:06:36.256633 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:36] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:36] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:36] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:06:54.304513 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:06:54.307996 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:54] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:06:54] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:07:59.300183 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:07:59.304080 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:07:59.308486 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:07:59.311586 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:07:59] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:07:59] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:07:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:07:59] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:08:57.819581 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:08:57.822624 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:08:57.827111 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:08:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:08:57.833236 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:08:57] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:08:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:08:57] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:04.123547 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:09:04.126542 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:09:04.129541 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:04] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:04.141289 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:04.298098 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:09:04.302100 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:04] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:04.310102 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:04] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:04.315111 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:04] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:08.684476 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:09:08.686476 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:08] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:08] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:13.449418 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:13] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:30.218800 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:09:30.222527 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:30.228538 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:09:30.233596 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:30.420981 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:09:30.423983 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:30] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:09:30.441065 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:09:30.444073 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:09:30] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:10:46.448584 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:10:46.452206 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:10:46.456742 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:46] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:10:46.461208 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:46] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:46] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:10:53.068051 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:53] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:10:53.073864 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:10:53.077913 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:10:53.082938 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:53] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:10:53.246539 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:10:53.253308 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:53] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:10:53.257323 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:10:53.262098 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:53] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:53] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:10:59.040191 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:10:59.043718 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:59] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:10:59] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:11:07.807033 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:11:07] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:12:21.264669 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:12:21.270233 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:12:21.274756 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:21] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:12:21.276741 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:21] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:21] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:12:27.284511 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:12:27.288332 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:27] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:27] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:12:35.247612 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:35] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:12:35.649503 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:35] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:12:35.672666 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:12:35] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:13:16.464190 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:13:16.467224 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:13:16.472863 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:13:16] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:13:16.476949 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:13:16] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:13:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:13:16] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:24:25.451683 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:24:25.452688 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:24:25.452688 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:24:25.452688 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:24:25.453684 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:24:43.803634 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:24:43.804639 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:24:43.804639 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:24:43.804639 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:24:43.804639 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:24:45.625423 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:24:45.628423 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:24:45.635432 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:24:45.641435 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:45] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:45] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:45] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:24:53.295008 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:53] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:24:53.325550 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:24:53.336571 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:24:53.348553 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:53] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:24:53.695596 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:53] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:24:53.714157 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:24:53.723150 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:24:53.727144 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:53] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:24:53] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:25:07.273142 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:25:07.279572 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:25:07] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:25:07] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:25:22.458041 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:25:23.765077 : Delete_Partner_Order_Line - L'identifiant de la ligne est invalide
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:25:23] "POST /myclass/api/Delete_Partner_Order_Line/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:31:44.389072 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:31:44.395107 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:31:44.400661 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:31:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:31:44.409843 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:31:44] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:31:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:31:44] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:31:47.766138 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:31:47.770720 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:31:47] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:31:47] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:31:58.418009 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:31:58] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:31:59.442928 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:31:59] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:32:47.448412 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:32:47.453236 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:32:47.458382 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:32:47.466375 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:32:47] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:32:47] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:32:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:32:47] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:32:47.671069 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:32:47.676063 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:32:47] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:32:47] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:32:58.168935 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:32:58.172930 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:32:58] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:32:58] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:36:59.279719 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:36:59.285366 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:36:59.289935 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:36:59.295133 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:36:59] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:36:59] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:36:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:36:59] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:37:45.635011 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:37:45.635011 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:37:45.635011 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:37:45.635011 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:37:45.635011 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:37:45.695142 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:37:45.699403 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:37:45.702934 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:37:45.705272 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:37:45.709447 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:37:45.715438 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:37:45.721041 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:37:45.729979 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:45] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:45] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:45] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:45] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:37:50.116913 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:37:50.121356 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:50] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:50] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:37:58.455441 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:37:59.116648 : Convert_Quotation_to_Order - Le statut du devis n'est pas 'en cours'
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:37:59] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:38:07.289757 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:38:07.303417 : Convert_Quotation_to_Order - Le statut du devis n'est pas 'en cours'
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:38:07] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:39:08.450526 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:39:08.450526 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:39:08.451522 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:39:08.451522 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:39:08.451522 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:39:09.936225 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:39:10.591733 : Convert_Quotation_to_Order - Le devis a expiré
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:39:10] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:39:25.373720 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:39:25] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:39:25.730818 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:39:25] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:39:26.711067 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:39:26] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:39:26.738539 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:39:26] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:39:36.756585 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:39:36.767612 : Convert_Quotation_to_Order - Le devis a expiré
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:39:36] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:39:43.633971 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:39:43.651879 : Convert_Quotation_to_Order - Le devis a expiré
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:39:43] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:40:18.802431 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:40:18.802431 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:40:18.802431 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:40:18.802431 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:40:18.802431 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:40:38.806193 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:40:38.806193 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:40:38.806193 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:40:38.807191 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:40:38.807191 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:40:53.722582 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:40:54.256188 : Add_Partner_Order Le champ 'order_header_tax' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:40:54] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:42:05.016155 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:42:05.016155 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:42:05.016155 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:42:05.017259 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:42:05.017259 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:42:05.056190 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:42:05.568034 : Add_Partner_Order Le champ 'order_header_tax_amount' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:42:05] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:42:31.050999 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:42:31.051999 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:42:31.051999 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:42:31.051999 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:42:31.051999 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:42:35.277179 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:42:35.954565 : Add_Partner_Order Le champ 'total_header_hors_taxe_after_header_reduction' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:42:35] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:43:04.871860 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:43:04.871860 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:43:04.871860 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:43:04.871860 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:43:04.871860 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:43:04.911168 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:43:05.495346 : Add_Partner_Order Le champ 'total_header_hors_taxe_before_header_reduction' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:43:05] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:43:50.691241 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:43:50.691241 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:43:50.691241 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:43:50.711235 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:43:50.711235 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:44:07.962720 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:44:07.962720 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:44:07.962720 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:44:07.963695 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:44:07.963695 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:44:08.005702 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:44:09.087853 : Add_Partner_Order Le champ 'total_header_toutes_taxes' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:44:09] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:44:42.607891 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:44:42.607891 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:44:42.607891 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:44:42.607891 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:44:42.607891 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:44:42.688807 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:44:44.387406 : Add_Partner_Order Le champ 'total_lines_hors_taxe_after_lines_reduction' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:44:44] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:45:12.226398 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:45:12.226398 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:45:12.226398 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:45:12.227442 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:45:12.227442 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:47:23.361849 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:47:24.818100 : Add_Partner_Order Le champ 'total_lines_hors_taxe_before_lines_reduction' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:47:24] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:48:04.754860 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:48:04.755872 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:48:04.755872 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:48:04.755872 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:48:04.755872 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:48:14.915982 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:48:15.471970 : Add_Partner_Order Le champ 'total_lines_montant_reduction' n'est pas autorisé
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:48:15] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:48:48.375919 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:48:48.375919 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:48:48.375919 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:48:48.375919 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:48:48.375919 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:48:48.417722 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:48:49.063037 : Convert_Quotation_to_Order Le devis Devis_1 a été correctement convertie en commande avec le numero : Order_38
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:48:49] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:48:50.284560 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:48:50] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:48:50.298573 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:48:50] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 11:50:07.129456 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 11:50:07.129456 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 11:50:07.129456 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 11:50:07.129456 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 11:50:07.129456 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 11:51:08.888466 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:08.891948 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:08.893971 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:08.898057 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:08] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:08] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:08] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:13.733562 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:13] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:13.742737 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:13.746738 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:13.752276 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:13] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:13.959239 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:13.963055 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:13] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:13] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:13.981303 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:13.993145 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:14] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:18.634712 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:18.638749 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:18] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:18] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:27.194173 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:51:27.745524 : Convert_Quotation_to_Order Le devis Devis_1 a été correctement convertie en commande avec le numero : Order_39
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:27] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:28.180909 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:28] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:28.572840 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:28] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:51:28.594747 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:51:28] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:20.453927 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:20.458974 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:20.461400 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:20] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:20.466491 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:20] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:20] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:26.983888 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:26.988633 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:26] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:26.993873 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:27.000128 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:27.110557 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:27.119376 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:27.121468 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:27.125464 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:27] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:31.515410 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:31.518743 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:31] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:31] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:36.931038 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:36.968962 : Convert_Quotation_to_Order Le devis Devis_1 a été correctement convertie en commande avec le numero : Order_40
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:36] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:37.409789 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:37] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:37.818845 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:37] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:37.847395 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:37] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:52:49.197369 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 11:52:49.200367 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:49] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:52:49] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:53:07.474980 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:53:07] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:53:08.369694 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:53:08] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 11:53:08.387645 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 11:53:08] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 12:09:52.518791 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 12:09:52.519788 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 12:09:52.519788 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 12:09:52.519788 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 12:09:52.519788 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 12:10:01.865558 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 12:10:01.866558 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 12:10:01.866558 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 12:10:01.866558 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 12:10:01.866558 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 12:10:36.373294 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:10:36.902252 : Delete_Partner_Order_Header_And_Lines -'int' object is not subscriptable - Line : 2492
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:10:36] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 12:11:56.068195 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 12:11:56.068195 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 12:11:56.068195 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 12:11:56.068195 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 12:11:56.068195 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 12:12:02.747293 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:12:03.265028 : Delete_Partner_Order_Header_And_Lines -'int' object is not subscriptable - Line : 2514
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:12:03] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 12:12:35.515050 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 12:12:35.515050 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 12:12:35.515050 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 12:12:35.515050 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 12:12:35.515050 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 12:12:41.848341 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:12:42.341236 : Delete_Partner_Order_Header_And_Lines -cannot encode object: {'2', '3'}, of type: - Line : 2519
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:12:42] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 12:13:21.898056 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 12:13:21.899070 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 12:13:21.899070 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 12:13:21.899070 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 12:13:21.899070 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-09-15 12:14:16.546070 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-09-15 12:14:16.546070 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-09-15 12:14:16.546070 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-09-15 12:14:16.546070 : ++ FLASK PORT 5001 ++
+INFO:root:2023-09-15 12:14:16.546070 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 877-541-979
+INFO:root:2023-09-15 12:14:27.012238 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:14:27.560708 : Delete_Partner_Order_Header_And_Lines - Cette commande contient des lignes traitées ou facturées. Impossible de supprimer le document
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:14:27] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:15:28.255885 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:28] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:15:29.093747 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:29] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:15:38.603830 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:15:38.606810 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:38] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:38] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:15:45.341340 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:15:45.345689 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:45] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:45] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:15:49.418447 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:49] "POST /myclass/api/Annule_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:15:50.280419 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:15:50.284470 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:50] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:15:50] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:17:52.575849 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:17:52.579809 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:17:52.586953 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:17:52.590979 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:52] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:17:52.795905 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:17:52.799562 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:17:52.804253 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:17:52.810265 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:52] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:52] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:52] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:17:58.371569 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:17:58.374584 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:58] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:17:58] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:18:02.937085 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:18:02] "POST /myclass/api/Annule_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:18:03.293015 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:18:03] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:18:03.770982 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:18:03] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:18:03.789340 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:18:03] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 -
+INFO:root:2023-09-15 12:18:49.097481 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:18:49.105856 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:18:49.112852 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-09-15 12:18:49.118253 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:18:49] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:18:49] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:18:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [15/Sep/2023 12:18:49] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 -
diff --git a/main.py b/main.py
index 1cc810c..d0537d2 100644
--- a/main.py
+++ b/main.py
@@ -4207,8 +4207,8 @@ def Add_Partner_Order():
# On recupere le corps (payload) de la requete
payload = mycommon.strip_dictionary (request.form.to_dict())
print(" ### Add_Partner_Order payload = ",payload)
- status, retval = partner_order.Add_Partner_Order(payload)
- return jsonify(status=status, message=retval)
+ status, retmessage, retval = partner_order.Add_Partner_Order(payload)
+ return jsonify(status=status, message=retmessage, retval=retval)
"""
@@ -4220,8 +4220,8 @@ def Add_Partner_Quotation():
# On recupere le corps (payload) de la requete
payload = mycommon.strip_dictionary (request.form.to_dict())
print(" ### Add_Partner_Quotation payload = ",payload)
- status, retval = partner_order.Add_Partner_Quotation(payload)
- return jsonify(status=status, message=retval)
+ status, retmessage, retval = partner_order.Add_Partner_Quotation(payload)
+ return jsonify(status=status, message=retmessage, retval=retval)
@@ -4331,6 +4331,38 @@ def Add_Update_Partner_Order_Line():
status, retval = partner_order.Add_Update_Partner_Order_Line(payload)
return jsonify(status=status, message=retval)
+
+"""
+API de confirmation d'un document (devis ou cmd)
+"""
+
+@app.route('/myclass/api/Confirm_Partner_Order_Header_And_Lines/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Confirm_Partner_Order_Header_And_Lines():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Confirm_Partner_Order_Header_And_Lines payload = ",payload)
+ status, retval = partner_order.Confirm_Partner_Order_Header_And_Lines(payload)
+ return jsonify(status=status, message=retval)
+
+
+"""
+API d'annulation d'un document (devis ou cmd)
+"""
+
+@app.route('/myclass/api/Annule_Partner_Order_Header_And_Lines/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Annule_Partner_Order_Header_And_Lines():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Annule_Partner_Order_Header_And_Lines payload = ",payload)
+ status, retval = partner_order.Annule_Partner_Order_Header_And_Lines(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+
+
"""
API de suppression d'une commande entière, avec les lignes associée (commande client d'un partenaire), ceci en utilisant l'_id
"""
@@ -4558,8 +4590,8 @@ def Convert_Quotation_to_Order():
# On recupere le corps (payload) de la requete
payload = mycommon.strip_dictionary (request.form.to_dict())
print(" ### Convert_Quotation_to_Order payload = ", str(payload))
- status, message = partner_order.Convert_Quotation_to_Order(payload)
- return jsonify(status=status, message=message)
+ status, message, retval = partner_order.Convert_Quotation_to_Order(payload)
+ return jsonify(status=status, message=message, retval=retval)
diff --git a/partner_order.py b/partner_order.py
index 926d602..15298ec 100644
--- a/partner_order.py
+++ b/partner_order.py
@@ -59,7 +59,9 @@ def Add_Partner_Order(diction):
'order_header_condition_paiement', 'order_header_ref_client', 'order_header_vendeur_id',
'order_header_ref_interne', 'order_header_total_ht', 'order_header_total_tax', 'order_header_total_ttc', 'order_header_status', 'order_header_type_reduction',
'order_header_type_reduction_valeur', 'order_header_montant_reduction', 'order_lines', 'order_header_type',
- 'order_header_location_type', 'order_header_origin']
+ 'order_header_location_type', 'order_header_origin', 'order_header_tax', 'order_header_tax_amount',
+ 'total_header_hors_taxe_after_header_reduction', 'total_header_hors_taxe_before_header_reduction', 'total_header_toutes_taxes',
+ 'total_lines_hors_taxe_after_lines_reduction', 'total_lines_hors_taxe_before_lines_reduction', 'total_lines_montant_reduction']
"""
/!\ A noter que "order_lines" est tableau [] qui peut contenir les keys suivantes : 'order_line_formation', 'order_line_qty', 'order_line_prix_unitaire', 'order_line_tax', 'order_line_type_reduction', 'order_line_type_valeur', 'order_line_montant_reduction'
@@ -72,7 +74,7 @@ def Add_Partner_Order(diction):
if val not in field_list:
mycommon.myprint(str(
inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
- return False, " Les informations fournies sont incorrectes",
+ return False, " Les informations fournies sont incorrectes", False
"""
Verification des champs obligatoires
@@ -83,7 +85,7 @@ def Add_Partner_Order(diction):
if val not in diction:
mycommon.myprint(
str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
- return False, " Les informations fournies sont incorrectes",
+ return False, " Les informations fournies sont incorrectes", False
"""
Verification de l'identité et autorisation de l'entité qui
@@ -96,7 +98,7 @@ def Add_Partner_Order(diction):
local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
if (local_status is not True):
- return local_status, my_partner
+ return local_status, my_partner, False
# Recuperation des champs
@@ -119,7 +121,7 @@ def Add_Partner_Order(diction):
if( is_client_exist_count <= 0):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le client est invalide ")
- return False, " - Le client est invalide "
+ return False, " - Le client est invalide ", False
data['order_header_client_id'] = diction['order_header_client_id']
@@ -132,7 +134,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_description' fait plus de 500 caractères ")
- return False, " - Le champ 'Description' fait plus de 500 caractères "
+ return False, " - Le champ 'Description' fait plus de 500 caractères ", False
data['order_header_description'] = diction['order_header_description']
order_header_comment = ""
@@ -144,7 +146,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_comment' fait plus de 500 caractères ")
- return False, " - Le champ 'Commentaire' fait plus de 500 caractères "
+ return False, " - Le champ 'Commentaire' fait plus de 500 caractères ", False
data['order_header_comment'] = diction['order_header_comment']
order_header_condition_paiement = ""
@@ -156,7 +158,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_condition_paiement' fait plus de 255 caractères ")
- return False, " - Le champ 'Condition de paiement' fait plus de 255 caractères "
+ return False, " - Le champ 'Condition de paiement' fait plus de 255 caractères ", False
data['order_header_condition_paiement'] = diction['order_header_condition_paiement']
order_header_ref_interne = ""
@@ -168,7 +170,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_ref_interne' fait plus de 255 caractères ")
- return False, " - Le champ 'ref_interne' fait plus de 255 caractères "
+ return False, " - Le champ 'ref_interne' fait plus de 255 caractères ", False
data['order_header_ref_interne'] = diction['order_header_ref_interne']
order_header_status = ""
@@ -181,7 +183,7 @@ def Add_Partner_Order(diction):
MYSY_GV.PARTNER_ORDER_STATUS))
return False, " - Le champ 'Statut' est invalide. Les valeurs acceptées " + str(
- MYSY_GV.PARTNER_ORDER_STATUS)
+ MYSY_GV.PARTNER_ORDER_STATUS), False
data['order_header_status'] = diction['order_header_status']
else:
data['order_header_status'] = "0"
@@ -196,7 +198,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_origin' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_origin' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_origin' fait plus de 255 caractères ", False
data['order_header_origin'] = diction['order_header_origin']
order_header_ref_externe = ""
@@ -208,7 +210,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_ref_externe' fait plus de 255 caractères ")
- return False, " - Le champ 'ref_externe' fait plus de 255 caractères "
+ return False, " - Le champ 'ref_externe' fait plus de 255 caractères ", False
data['order_header_ref_externe'] = diction['order_header_ref_externe']
@@ -222,7 +224,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_location_type' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_location_type' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_location_type' fait plus de 255 caractères ", False
data['order_header_location_type'] = diction['order_header_location_type']
@@ -238,7 +240,7 @@ def Add_Partner_Order(diction):
if (is_employee_exist_count <= 0):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le vendeur est invalide ")
- return False, " - Le vendeur est invalide "
+ return False, " - Le vendeur est invalide ", False
data['order_header_vendeur_id'] = diction['order_header_vendeur_id']
@@ -251,7 +253,7 @@ def Add_Partner_Order(diction):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " La date order_header_date_cmd n'est pas au format 'jj/mm/aaaa' ")
- return False, "La date de la commande n'est pas au format 'jj/mm/aaaa'"
+ return False, "La date de la commande n'est pas au format 'jj/mm/aaaa'", False
data['order_header_date_cmd'] = str(diction['order_header_date_cmd'])[0:10]
else:
@@ -268,7 +270,7 @@ def Add_Partner_Order(diction):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " La date order_header_date_expiration n'est pas au format 'jj/mm/aaaa' ")
- return False, "La date d'expiration de la commande n'est pas au format 'jj/mm/aaaa'"
+ return False, "La date d'expiration de la commande n'est pas au format 'jj/mm/aaaa'", False
data['order_header_date_expiration'] = str(diction['order_header_date_expiration'])[0:10]
@@ -278,7 +280,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - La date d'expiration " + str(diction['order_header_date_expiration'])[0:10] +" doit etre postérieure à la date de la commande " + str(diction['order_header_date_cmd'])[0:10] + " ")
- return False, " - La date d'expiration " + str(diction['order_header_date_expiration'])[0:10] +" doit etre postérieure à la date de la commande " + str(diction['order_header_date_cmd'])[0:10] + " "
+ return False, " - La date d'expiration " + str(diction['order_header_date_expiration'])[0:10] +" doit etre postérieure à la date de la commande " + str(diction['order_header_date_cmd'])[0:10] + " ", False
@@ -292,7 +294,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_fact_adresse' fait plus de 500 caractères ")
- return False, " - Le champ 'adresse de facturation' fait plus de 500 caractères "
+ return False, " - Le champ 'adresse de facturation' fait plus de 500 caractères ", False
data['order_header_adr_fact_adresse'] = diction['order_header_adr_fact_adresse']
order_header_adr_fact_code_postal = ""
@@ -304,7 +306,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_fact_code_postal' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_fact_code_postal' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_fact_code_postal' fait plus de 255 caractères ", False
data['order_header_adr_fact_code_postal'] = diction['order_header_adr_fact_code_postal']
order_header_adr_fact_ville = ""
@@ -316,7 +318,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_fact_ville' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_fact_ville' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_fact_ville' fait plus de 255 caractères ", False
data['order_header_adr_fact_ville'] = diction['order_header_adr_fact_ville']
order_header_adr_fact_pays = ""
@@ -328,7 +330,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_fact_pays' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_fact_pays' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_fact_pays' fait plus de 255 caractères ", False
data['order_header_adr_fact_pays'] = diction['order_header_adr_fact_pays']
@@ -343,7 +345,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_liv_adresse' fait plus de 500 caractères ")
- return False, " - Le champ 'adresse d'exécution' fait plus de 500 caractères "
+ return False, " - Le champ 'adresse d'exécution' fait plus de 500 caractères ", False
data['order_header_adr_liv_adresse'] = diction['order_header_adr_liv_adresse']
order_header_adr_liv_code_postal = ""
@@ -355,7 +357,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_liv_code_postal' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_liv_code_postal' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_liv_code_postal' fait plus de 255 caractères ", False
data['order_header_adr_liv_code_postal'] = diction['order_header_adr_liv_code_postal']
order_header_adr_liv_ville = ""
@@ -367,7 +369,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_liv_ville' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_liv_ville' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_liv_ville' fait plus de 255 caractères ", False
data['order_header_adr_liv_ville'] = diction['order_header_adr_liv_ville']
order_header_adr_liv_pays = ""
@@ -379,7 +381,7 @@ def Add_Partner_Order(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_liv_pays' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_liv_pays' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_liv_pays' fait plus de 255 caractères ", False
data['order_header_adr_liv_pays'] = diction['order_header_adr_liv_pays']
@@ -407,7 +409,7 @@ def Add_Partner_Order(diction):
if val not in field_list:
mycommon.myprint(str(
inspect.stack()[0][3]) + " Line de commande : Le champ '" + val + "' n'est pas autorisé")
- return False, " Line de commande : Les informations fournies sont incorrectes",
+ return False, " Line de commande : Les informations fournies sont incorrectes", False
"""
Verification des champs obligatoires
@@ -419,7 +421,7 @@ def Add_Partner_Order(diction):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " - Line de commande : La valeur '" + val + "' n'est pas presente dans liste ")
- return False, " Line de commande : Les informations fournies sont incorrectes",
+ return False, " Line de commande : Les informations fournies sont incorrectes", False
"""
@@ -436,7 +438,7 @@ def Add_Partner_Order(diction):
if (retval_sequence_order is None or "current_val" not in retval_sequence_order.keys()):
mycommon.myprint(" Impossible de recuperer la sequence 'retval_sequence_order' ")
- return False, "Impossible de recuperer la sequence 'retval_sequence_order'"
+ return False, "Impossible de recuperer la sequence 'retval_sequence_order'", False
current_seq_value = str(retval_sequence_order['current_val'])
new_sequence_value = int(mycommon.tryInt(current_seq_value)) + 1
@@ -452,7 +454,7 @@ def Add_Partner_Order(diction):
if( existe_cmd_ref_interne_count > 0):
mycommon.myprint(
" Il existe déjà une commande avec la même reference interne "+str(data['order_header_ref_interne']))
- return False, " Il existe déjà une commande avec la même reference interne "+str(data['order_header_ref_interne'])+" "
+ return False, " Il existe déjà une commande avec la même reference interne "+str(data['order_header_ref_interne'])+" ", False
data['valide'] = '1'
data['locked'] = '0'
@@ -465,7 +467,7 @@ def Add_Partner_Order(diction):
if (not inserted_id):
mycommon.myprint(
" Impossible de créer l'entete de la commande ")
- return False, "Impossible de créer l'entete de la commande "
+ return False, "Impossible de créer l'entete de la commande ", False
new_sequance_data_to_update = {'current_val': new_sequence_value}
@@ -502,15 +504,15 @@ def Add_Partner_Order(diction):
if (not inserted_line_id):
mycommon.myprint(
" Impossible de créer la ligne la commande ")
- return False, " Impossible de créer la ligne la commande "
+ return False, " Impossible de créer la ligne la commande ", False
- return True, " La commande a été correctement créée"
+ return True, " La commande a été correctement créée", str(data['order_header_ref_interne'])
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
- return False, " Impossible de créer la commande "
+ return False, " Impossible de créer la commande ", False
"""
@@ -535,7 +537,10 @@ def Add_Partner_Quotation(diction):
'order_header_ref_interne', 'order_header_total_ht', 'order_header_total_tax',
'order_header_total_ttc', 'order_header_status', 'order_header_type_reduction',
'order_header_type_reduction_valeur', 'order_header_montant_reduction', 'order_lines',
- 'order_header_type', 'order_header_location_type', 'order_header_origin']
+ 'order_header_type', 'order_header_location_type', 'order_header_tax', 'order_header_origin',
+ 'order_header_tax_amount', 'total_header_hors_taxe_after_header_reduction',
+ 'total_header_hors_taxe_before_header_reduction', 'total_header_toutes_taxes', 'total_lines_hors_taxe_after_lines_reduction',
+ 'total_lines_hors_taxe_before_lines_reduction', 'total_lines_montant_reduction']
"""
/!\ A noter que "order_lines" est tableau [] qui peut contenir les keys suivantes : 'order_line_formation', 'order_line_qty', 'order_line_prix_unitaire', 'order_line_tax', 'order_line_type_reduction', 'order_line_type_valeur', 'order_line_montant_reduction'
@@ -548,7 +553,7 @@ def Add_Partner_Quotation(diction):
if val not in field_list:
mycommon.myprint(str(
inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
- return False, " Les informations fournies sont incorrectes",
+ return False, " Les informations fournies sont incorrectes", False
"""
Verification des champs obligatoires
@@ -559,7 +564,7 @@ def Add_Partner_Quotation(diction):
if val not in diction:
mycommon.myprint(
str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
- return False, " Les informations fournies sont incorrectes",
+ return False, " Les informations fournies sont incorrectes", False
"""
Verification de l'identité et autorisation de l'entité qui
@@ -591,7 +596,7 @@ def Add_Partner_Quotation(diction):
if (is_client_exist_count <= 0):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le client est invalide ")
- return False, " - Le client est invalide "
+ return False, " - Le client est invalide ", False
data['order_header_client_id'] = diction['order_header_client_id']
order_header_description = ""
@@ -603,7 +608,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_description' fait plus de 500 caractères ")
- return False, " - Le champ 'Description' fait plus de 500 caractères "
+ return False, " - Le champ 'Description' fait plus de 500 caractères ", False
data['order_header_description'] = diction['order_header_description']
order_header_status = ""
@@ -616,7 +621,7 @@ def Add_Partner_Quotation(diction):
MYSY_GV.PARTNER_QUOTATION_STATUS))
return False, " - Le champ 'Statut' est invalide. Les valeurs acceptées " + str(
- MYSY_GV.PARTNER_QUOTATION_STATUS)
+ MYSY_GV.PARTNER_QUOTATION_STATUS), False
data['order_header_status'] = diction['order_header_status']
else:
data['order_header_status'] = "0"
@@ -631,7 +636,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_location_type' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_location_type' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_location_type' fait plus de 255 caractères ", False
data['order_header_location_type'] = diction['order_header_location_type']
@@ -644,7 +649,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_comment' fait plus de 500 caractères ")
- return False, " - Le champ 'Commentaire' fait plus de 500 caractères "
+ return False, " - Le champ 'Commentaire' fait plus de 500 caractères ", False
data['order_header_comment'] = diction['order_header_comment']
order_header_condition_paiement = ""
@@ -656,7 +661,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_condition_paiement' fait plus de 255 caractères ")
- return False, " - Le champ 'Condition de paiement' fait plus de 255 caractères "
+ return False, " - Le champ 'Condition de paiement' fait plus de 255 caractères ", False
data['order_header_condition_paiement'] = diction['order_header_condition_paiement']
order_header_ref_interne = ""
@@ -668,7 +673,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_ref_interne' fait plus de 255 caractères ")
- return False, " - Le champ 'ref_interne' fait plus de 255 caractères "
+ return False, " - Le champ 'ref_interne' fait plus de 255 caractères ", False
data['order_header_ref_interne'] = diction['order_header_ref_interne']
order_header_ref_externe = ""
@@ -680,7 +685,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_ref_externe' fait plus de 255 caractères ")
- return False, " - Le champ 'ref_externe' fait plus de 255 caractères "
+ return False, " - Le champ 'ref_externe' fait plus de 255 caractères ", False
data['order_header_ref_externe'] = diction['order_header_ref_externe']
order_header_origin = ""
@@ -692,7 +697,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_origin' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_origin' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_origin' fait plus de 255 caractères ", False
data['order_header_origin'] = diction['order_header_origin']
@@ -709,7 +714,7 @@ def Add_Partner_Quotation(diction):
if (is_employee_exist_count <= 0):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le vendeur est invalide ")
- return False, " - Le vendeur est invalide "
+ return False, " - Le vendeur est invalide ", False
data['order_header_vendeur_id'] = diction['order_header_vendeur_id']
@@ -722,7 +727,7 @@ def Add_Partner_Quotation(diction):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " La date order_header_date_cmd n'est pas au format 'jj/mm/aaaa' ")
- return False, "La date de la commande n'est pas au format 'jj/mm/aaaa'"
+ return False, "La date de la commande n'est pas au format 'jj/mm/aaaa'", False
data['order_header_date_cmd'] = str(diction['order_header_date_cmd'])[0:10]
else:
@@ -738,7 +743,7 @@ def Add_Partner_Quotation(diction):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " La date order_header_date_expiration n'est pas au format 'jj/mm/aaaa' ")
- return False, "La date d'expiration de la commande n'est pas au format 'jj/mm/aaaa'"
+ return False, "La date d'expiration de la commande n'est pas au format 'jj/mm/aaaa'", False
data['order_header_date_expiration'] = str(diction['order_header_date_expiration'])[0:10]
@@ -753,7 +758,7 @@ def Add_Partner_Quotation(diction):
return False, " - La date d'expiration " + str(diction['order_header_date_expiration'])[
0:10] + " doit etre postérieure à la date de la commande " + str(
- diction['order_header_date_cmd'])[0:10] + " "
+ diction['order_header_date_cmd'])[0:10] + " ", False
## Recuperation de l'adresse de facturation
order_header_adr_fact_adresse = ""
@@ -765,7 +770,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_fact_adresse' fait plus de 500 caractères ")
- return False, " - Le champ 'adresse de facturation' fait plus de 500 caractères "
+ return False, " - Le champ 'adresse de facturation' fait plus de 500 caractères ", False
data['order_header_adr_fact_adresse'] = diction['order_header_adr_fact_adresse']
order_header_adr_fact_code_postal = ""
@@ -777,7 +782,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_fact_code_postal' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_fact_code_postal' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_fact_code_postal' fait plus de 255 caractères ", False
data['order_header_adr_fact_code_postal'] = diction['order_header_adr_fact_code_postal']
order_header_adr_fact_ville = ""
@@ -789,7 +794,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_fact_ville' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_fact_ville' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_fact_ville' fait plus de 255 caractères ", False
data['order_header_adr_fact_ville'] = diction['order_header_adr_fact_ville']
order_header_adr_fact_pays = ""
@@ -801,7 +806,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_fact_pays' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_fact_pays' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_fact_pays' fait plus de 255 caractères ", False
data['order_header_adr_fact_pays'] = diction['order_header_adr_fact_pays']
## Recuperation de l'adresse d'exécution de la formation
@@ -814,7 +819,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_liv_adresse' fait plus de 500 caractères ")
- return False, " - Le champ 'adresse d'exécution' fait plus de 500 caractères "
+ return False, " - Le champ 'adresse d'exécution' fait plus de 500 caractères ", False
data['order_header_adr_liv_adresse'] = diction['order_header_adr_liv_adresse']
order_header_adr_liv_code_postal = ""
@@ -826,7 +831,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_liv_code_postal' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_liv_code_postal' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_liv_code_postal' fait plus de 255 caractères ", False
data['order_header_adr_liv_code_postal'] = diction['order_header_adr_liv_code_postal']
order_header_adr_liv_ville = ""
@@ -838,7 +843,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_liv_ville' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_liv_ville' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_liv_ville' fait plus de 255 caractères ", False
data['order_header_adr_liv_ville'] = diction['order_header_adr_liv_ville']
order_header_adr_liv_pays = ""
@@ -850,7 +855,7 @@ def Add_Partner_Quotation(diction):
str(inspect.stack()[0][
3]) + " - Le champ 'order_header_adr_liv_pays' fait plus de 255 caractères ")
- return False, " - Le champ 'order_header_adr_liv_pays' fait plus de 255 caractères "
+ return False, " - Le champ 'order_header_adr_liv_pays' fait plus de 255 caractères ", False
data['order_header_adr_liv_pays'] = diction['order_header_adr_liv_pays']
"""
@@ -877,7 +882,7 @@ def Add_Partner_Quotation(diction):
if val not in field_list:
mycommon.myprint(str(
inspect.stack()[0][3]) + " Line de commande : Le champ '" + val + "' n'est pas autorisé")
- return False, " Line de commande : Les informations fournies sont incorrectes",
+ return False, " Line de commande : Les informations fournies sont incorrectes", False
"""
Verification des champs obligatoires
@@ -889,7 +894,7 @@ def Add_Partner_Quotation(diction):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " - Line de commande : La valeur '" + val + "' n'est pas presente dans liste ")
- return False, " Line de commande : Les informations fournies sont incorrectes",
+ return False, " Line de commande : Les informations fournies sont incorrectes", False
"""
@@ -906,7 +911,7 @@ def Add_Partner_Quotation(diction):
if (retval_sequence_order is None or "current_val" not in retval_sequence_order.keys()):
mycommon.myprint(" Impossible de recuperer la sequence 'retval_sequence_order' ")
- return False, "Impossible de recuperer la sequence 'retval_sequence_order'"
+ return False, "Impossible de recuperer la sequence 'retval_sequence_order'", False
current_seq_value = str(retval_sequence_order['current_val'])
new_sequence_value = int(mycommon.tryInt(current_seq_value)) + 1
@@ -923,7 +928,7 @@ def Add_Partner_Quotation(diction):
mycommon.myprint(
" Il existe déjà une commande avec la même reference interne " + str(data['order_header_ref_interne']))
return False, " Il existe déjà une commande avec la même reference interne " + str(
- data['order_header_ref_interne']) + " "
+ data['order_header_ref_interne']) + " ", False
data['valide'] = '1'
data['locked'] = '0'
@@ -935,7 +940,7 @@ def Add_Partner_Quotation(diction):
if (not inserted_id):
mycommon.myprint(
" Impossible de créer l'entete de la commande ")
- return False, "Impossible de créer l'entete de la commande "
+ return False, "Impossible de créer l'entete de la commande ", False
new_sequance_data_to_update = {'current_val': new_sequence_value}
ret_val2 = MYSY_GV.dbname['mysy_sequence'].find_one_and_update(
@@ -970,14 +975,14 @@ def Add_Partner_Quotation(diction):
if (not inserted_line_id):
mycommon.myprint(
" Impossible de créer la ligne la commande ")
- return False, " Impossible de créer la ligne la commande "
+ return False, " Impossible de créer la ligne la commande ", False
- return True, " La commande a été correctement créée"
+ return True, " La commande a été correctement créée", str(data['order_header_ref_interne'])
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
- return False, " Impossible de créer la commande "
+ return False, " Impossible de créer la commande ", False
"""
@@ -2122,9 +2127,304 @@ def Add_Update_Partner_Order_Line(diction):
+"""
+Fonction qui permet de confirmer un document, passer du statut brouillon, au statut confirmé,
+pour devis et pr commande.
+
+Seules order au statut : Brouillon ou En cours, sont confirmables.
+
+/!\ : Apres la confirmation, on procede au calcul des totaux (compute Order)
+"""
+def Confirm_Partner_Order_Header_And_Lines(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'order_header_id', ]
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'order_header_id', ]
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+ order_header_id = ""
+ if ("order_header_id" in diction.keys()):
+ if diction['order_header_id']:
+ order_header_id = diction['order_header_id']
+
+
+ my_order_data_count = MYSY_GV.dbname['partner_order_header'].count_documents(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ '_id': ObjectId(str(order_header_id))})
+
+ if (my_order_data_count != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - L'identifiant de la commande est invalide ")
+ return False, " L'identifiant de la commande est invalide",
+
+ """
+ Recuperation et stockage des données de l'entete avant mise à jour
+ """
+ my_order_data_previous_information = MYSY_GV.dbname['partner_order_header'].find_one(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ '_id': ObjectId(str(order_header_id))})
+
+
+
+ if( str(my_order_data_previous_information['order_header_status']) != "0" and str(my_order_data_previous_information['order_header_status']) != "1"):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Le document doit être au statut 'en cours' ou 'brouillon' pour avant d'être confirmé ")
+ return False, " Le document doit être au statut 'en cours' ou 'brouillon' pour avant d'être confirmé ",
+
+
+ # Si la l'order est un devis, on verifie s'il n'a pas expiré
+ mytoday = datetime.today().strftime("%d/%m/%Y")
+ if ( str(my_order_data_previous_information['order_header_date_expiration']) == "devis" and "order_header_date_expiration" in my_order_data_previous_information.keys() and len(
+ str(my_order_data_previous_information['order_header_date_expiration']).strip()) > 0):
+ if (datetime.strptime(str(my_order_data_previous_information['order_header_date_expiration']).strip(),
+ '%d/%m/%Y') < datetime.strptime(str(mytoday), '%d/%m/%Y')):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Le devis a expiré ")
+ return False, " Le devis a expiré", False
+
+ """
+
+ /!\ : A present que tous les controles sont ok, on va proceder à la creation dans les table.
+
+ """
+
+ ### 1 - Mise à jour de l'entete
+ # Recuperation des champs
+ data = {}
+ data['date_update'] = str(datetime.now())
+ data['order_header_status'] = "1"
+
+ print(" ### Update_partner_order data = ", data)
+
+ inserted_data = MYSY_GV.dbname['partner_order_header'].find_one_and_update(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ '_id': ObjectId(str(order_header_id))},
+ {"$set": data},
+ return_document=ReturnDocument.AFTER,
+ upsert=False,
+ )
+
+ if (inserted_data is None):
+ mycommon.myprint(
+ " Impossible de mettre à jour l'entete de commande ")
+ return False, "Impossible de mettre à jour l'entete de commande "
+
+ """
+ Mise à jour des lignes (partner_order_line) dont les status sont à 0 (brouillon)
+ """
+ local_qry = {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ 'order_header_id': str(order_header_id)
+ }
+ # print(" #### COMMANDE local_qry = ", local_qry)
+
+ inserted_data_line = MYSY_GV.dbname['partner_order_line'].update_many(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ 'order_header_id': str(order_header_id),
+ 'order_line_status':'0'
+ },
+ {
+ "$set": {"order_line_status": "1",
+ 'date_update': str(data['date_update'])}
+ })
+ """print("raw:", inserted_data_line.raw_result)
+ print("acknowledged:", inserted_data_line.acknowledged)
+ print("matched_count:", inserted_data_line.matched_count)"""
+
+ comput_diction = {}
+ comput_diction['token'] = diction['token']
+ comput_diction['_id'] = diction['order_header_id']
+
+ local_retval, local_message = Compute_Order_Header(comput_diction)
+ if( local_retval is False) :
+ mycommon.myprint(" WARNING : Apres la confirmation, La fonction compute pour l'ordre : "+str(comput_diction)+" n'a pas fonction, ")
+
+ return True, " Le document a été correctement mise à jour"
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de confirmer le document "
+
+"""
+Fonction qui annulle un order. Seules order au statut : Brouillon ou En cours, sont annulables.
+"""
+def Annule_Partner_Order_Header_And_Lines(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'order_header_id', ]
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'order_header_id', ]
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+ order_header_id = ""
+ if ("order_header_id" in diction.keys()):
+ if diction['order_header_id']:
+ order_header_id = diction['order_header_id']
+
+
+ my_order_data_count = MYSY_GV.dbname['partner_order_header'].count_documents(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ '_id': ObjectId(str(order_header_id))})
+
+ if (my_order_data_count != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - L'identifiant de la commande est invalide ")
+ return False, " L'identifiant de la commande est invalide",
+
+ """
+ Recuperation et stockage des données de l'entete avant mise à jour
+ """
+ my_order_data_previous_information = MYSY_GV.dbname['partner_order_header'].find_one(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ '_id': ObjectId(str(order_header_id))})
+
+
+
+ if( str(my_order_data_previous_information['order_header_status']) != "0" and str(my_order_data_previous_information['order_header_status']) != "1"):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Le document doit être au statut 'en cours' ou 'brouillon' pour avant d'être annulé ")
+ return False, " Le document doit être au statut 'en cours' ou 'brouillon' pour avant d'être annulé ",
+
+
+ """
+
+ /!\ : A present que tous les controles sont ok, on va proceder à la creation dans les table.
+
+ """
+
+ ### 1 - Mise à jour de l'entete
+ # Recuperation des champs
+ data = {}
+ data['date_update'] = str(datetime.now())
+ data['order_header_status'] = "-1"
+
+ print(" ### Update_partner_order data = ", data)
+
+ inserted_data = MYSY_GV.dbname['partner_order_header'].find_one_and_update(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ '_id': ObjectId(str(order_header_id))},
+ {"$set": data},
+ return_document=ReturnDocument.AFTER,
+ upsert=False,
+ )
+
+ if (inserted_data is None):
+ mycommon.myprint(
+ " Impossible de mettre à jour l'entete de commande ")
+ return False, "Impossible de mettre à jour l'entete de commande "
+
+ """
+ Mise à jour des lignes (partner_order_line) dont les status sont à 0 (brouillon)
+ """
+ local_qry = {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ 'order_header_id': str(order_header_id)
+ }
+ # print(" #### COMMANDE local_qry = ", local_qry)
+
+ inserted_data_line = MYSY_GV.dbname['partner_order_line'].update_many(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ 'order_header_id': str(order_header_id),
+ 'order_line_status':'0'
+ },
+ {
+ "$set": {"order_line_status": "-1",
+ 'date_update': str(data['date_update'])}
+ })
+ """print("raw:", inserted_data_line.raw_result)
+ print("acknowledged:", inserted_data_line.acknowledged)
+ print("matched_count:", inserted_data_line.matched_count)"""
+
+
+ return True, " Le document a été correctement annulé"
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible d'annuler le document "
+
+
"""
Fonction de suppression d'une commande client (entete et ligne) si son statut le permet en prenant le '_id'
+
+un devis est supprimable à tout moment, mais une commande FACTURE ou TRAITE n'est pas supprimable
+• 2 => Traité (prêt à être facturée)
+• 3 => Facturé (la facture est traitée dans un autre document).
"""
def Delete_Partner_Order_Header_And_Lines(diction):
try:
@@ -2175,9 +2475,7 @@ def Delete_Partner_Order_Header_And_Lines(diction):
# Verifier que la commande existe et qu'elle est supprimable.
Pour les ligne, on fait pareil, on ne peut modifier que celles qui sont modifiable.
- Conditions pour modifier entete :
- 1 - statut est : annulé, devis, cmd, MAIS PAS FACTURE
- Pour un debut pas de facturation partielle. c'est tout ou rien.
+
"""
my_order_data_count = MYSY_GV.dbname['partner_order_header'].count_documents(
{'partner_owner_recid': str(my_partner['recid']),
@@ -2189,6 +2487,47 @@ def Delete_Partner_Order_Header_And_Lines(diction):
str(inspect.stack()[0][3]) + " - L'identifiant de la commande est invalide ")
return False, " L'identifiant de la commande est invalide",
+
+ # Verifier que la commande / devis est supprimable :
+ my_order_data = MYSY_GV.dbname['partner_order_header'].find_one(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ '_id': ObjectId(str(order_header_id))})
+
+ if( my_order_data['order_header_type'] == "commande" and my_order_data['order_header_status'] == "2"):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Cette commande a été traitée, impossible de la supprimer")
+ return False, " Cette commande a été traitée, impossible de la supprimer",
+
+ if (my_order_data['order_header_type'] == "commande" and my_order_data[
+ 'order_header_status'] == "3"):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Cette commande a été facturée, impossible de la supprimer")
+ return False, " Cette commande a été facturée, impossible de la supprimer",
+
+
+ # Verifier qu'il n'y pas des lignes (partner_order_line) traitée ou facturé... (cas des facturations partielles à venir)
+
+ qry_line_count_cancel = {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ 'order_header_id': str(order_header_id),
+ 'order_header_ref_interne':str(my_order_data['order_header_ref_interne']),
+ 'order_line_status':{'$in':['2', '3']}}
+
+ print(" #### qry_line_count_cancel = ", qry_line_count_cancel)
+
+ my_order_line_not_cancel_data_count = MYSY_GV.dbname['partner_order_line'].count_documents(
+ {'partner_owner_recid': str(my_partner['recid']),
+ 'valide': '1', 'locked': '0',
+ 'order_header_id': str(order_header_id),
+ 'order_header_ref_interne':str(my_order_data['order_header_ref_interne']),
+ 'order_line_status':{'$in':['2', '3']}})
+
+ if( my_order_line_not_cancel_data_count > 0 ):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Cette commande contient des lignes traitées ou facturées. Impossible de supprimer le document ")
+ return False, " Cette commande contient des lignes traitées ou facturées. Impossible de supprimer le document ",
+
# Recuperation des champs
data = {}
data['partner_owner_recid'] = my_partner['recid']
@@ -3020,6 +3359,7 @@ def Get_List_Partner_Order_no_filter(diction):
find_qry = {'$and': [{'partner_owner_recid': str(my_partner['recid']), 'valide': '1', 'locked': '0'}, {}, ]}
new_myquery_find_order = [{'$match': find_qry},
+ { '$sort': {'_id': -1}},
{"$addFields": {"partner_order_header_Id": {"$toString": "$_id"}}},
{'$lookup':
{
@@ -4161,6 +4501,14 @@ def Send_Partner_Order_By_Email(diction):
"""
Conversion un devis en commande.
Cette fonction prends uniquement un devis, le duplique avec en mettant le type = commande
+
+
+condition de conversion :
+- Commande type = devis
+- status devis = En cours => valeur 1
+- Devis pas expiré
+
+
"""
def Convert_Quotation_to_Order(diction):
try:
@@ -4170,7 +4518,7 @@ def Convert_Quotation_to_Order(diction):
if val not in field_list:
mycommon.myprint(
str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
- return False, "Les informations fournies sont incorrectes"
+ return False, "Les informations fournies sont incorrectes", False
"""
Verification de la liste des champs obligatoires
@@ -4181,7 +4529,7 @@ def Convert_Quotation_to_Order(diction):
if val not in diction:
mycommon.myprint(
str(inspect.stack()[0][3]) + " - : La valeur '" + val + "' n'est pas presente dans liste ")
- return False, " Les informations fournies sont incorrectes "
+ return False, " Les informations fournies sont incorrectes ", False
query_get_data = {}
mytoken = ""
@@ -4191,9 +4539,9 @@ def Convert_Quotation_to_Order(diction):
local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
if (local_status is not True):
- return local_status, my_partner
+ return local_status, my_partner, False
- # Verification de la validité de l'order
+ # Verification de la validité du devis à convertir
qry = {'_id': ObjectId(str(diction['order_id'])), 'valide': '1', 'locked': '0','order_header_type':'devis',
'partner_owner_recid': str(my_partner['recid'])}
print(" ### qry = ", qry)
@@ -4206,7 +4554,7 @@ def Convert_Quotation_to_Order(diction):
if (is_Order_Existe_Count != 1):
mycommon.myprint(
str(inspect.stack()[0][3]) + " - La commande n'est pas valide ")
- return False, " La commande n'est pas valide",
+ return False, " La commande n'est pas valide", False
Quotation_header_data_tmp = MYSY_GV.dbname['partner_order_header'].find_one(
{'_id': ObjectId(str(diction['order_id'])),
@@ -4216,6 +4564,20 @@ def Convert_Quotation_to_Order(diction):
my_partner['recid'])},
)
+ if( Quotation_header_data_tmp['order_header_status'] != '1'):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Le statut du devis n'est pas 'en cours'")
+ return False, " Le statut du devis n'est pas 'en cours'", False
+
+ mytoday = datetime.today().strftime("%d/%m/%Y")
+ if( "order_header_date_expiration" in Quotation_header_data_tmp.keys() and len(str(Quotation_header_data_tmp['order_header_date_expiration']).strip()) > 0):
+ if (datetime.strptime(str(Quotation_header_data_tmp['order_header_date_expiration']).strip(), '%d/%m/%Y') < datetime.strptime(str(mytoday), '%d/%m/%Y') ):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Le devis a expiré ")
+ return False, " Le devis a expiré", False
+
+
+
Quotation_header_data = MYSY_GV.dbname['partner_order_header'].find_one({'_id': ObjectId(str(diction['order_id'])),
'valide': '1', 'locked': '0',
@@ -4232,16 +4594,18 @@ def Convert_Quotation_to_Order(diction):
New_Order_Header['order_header_type'] = "commande"
New_Order_Header['token'] = mytoken
- local_status, local_retval = Add_Partner_Order(New_Order_Header)
+ local_status, local_message, local_retval = Add_Partner_Order(New_Order_Header)
if( local_status is False ):
- return local_status, local_retval
+ return local_status, local_message, False
- new_created_order = MYSY_GV.dbname['partner_order_header'].find_one({'order_header_origin':str(Quotation_header_data_tmp['order_header_ref_interne'])})
- print(" La nouvelle Entete a été créer le num_order = ", new_created_order['order_header_ref_interne'])
+
+ new_created_order = MYSY_GV.dbname['partner_order_header'].find_one({'order_header_ref_interne':str(local_retval)})
+ print(" ### La nouvelle Entete a été créer le num_order = ", new_created_order['order_header_ref_interne'])
# Traitement des ligne
+ cpt_line = 0
for Quotation_line_data in MYSY_GV.dbname['partner_order_line'].find({'order_header_id': str(diction['order_id']),
'valide': '1', 'locked': '0',
'order_line_type':'devis',
@@ -4260,11 +4624,15 @@ def Convert_Quotation_to_Order(diction):
New_Order_Line['order_line_status'] = "0"
local_add_line_status, local_add_line_retval = Add_Update_Partner_Order_Line(New_Order_Line)
+ print(" Ligne = ", cpt_line)
+ cpt_line = cpt_line + 1
- return True, " Le devis a été correctement convertit en commande "
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " Le devis "+str(Quotation_header_data_tmp['order_header_ref_interne'])+" a été correctement convertie en commande avec le numero : "+ new_created_order['order_header_ref_interne'])
+ return True, " Le devis a été correctement convertit en commande. Ref. Commande est : "+str(str(new_created_order['order_header_ref_interne'])), str(new_created_order['order_header_ref_interne'])
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
print(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
- return False, "Impossible de convertir le devis en commande"
+ return False, "Impossible de convertir le devis en commande", False