diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2658b39..085edda 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,11 +1,11 @@ - + + - @@ -427,7 +427,6 @@ - @@ -452,6 +451,7 @@ - \ No newline at end of file diff --git a/Log/log_file.log b/Log/log_file.log index 7916285..f190661 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1835666,3 +1835666,381 @@ INFO:root:2023-10-01 22:24:11.432419 : Security check : IP adresse '127.0.0.1' INFO:root:2023-10-01 22:24:11.436419 : Security check : IP adresse '127.0.0.1' connected INFO:werkzeug:127.0.0.1 - - [01/Oct/2023 22:24:11] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - INFO:werkzeug:127.0.0.1 - - [01/Oct/2023 22:24:11] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:23:33.023489 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-10-02 09:23:33.024933 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-10-02 09:23:33.024933 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-10-02 09:23:33.024933 : ++ FLASK PORT 5001 ++ +INFO:root:2023-10-02 09:23:33.026290 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-10-02 09:23:43.082779 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-10-02 09:23:43.083782 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-10-02 09:23:43.083782 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-10-02 09:23:43.083782 : ++ FLASK PORT 5001 ++ +INFO:root:2023-10-02 09:23:43.083782 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2023-10-02 09:24:11.258561 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:11.260151 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:11.260151 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:11] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:11] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:11] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:11.520610 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:11.523220 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:11] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:12.487825 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:12.488860 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:12.489867 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:12.493225 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:12.498548 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:12.507453 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:12.812434 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:12.812434 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:12.813434 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:12.814440 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:12.828492 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:12.830494 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:13.139570 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:13.139570 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:13.140566 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:13.141571 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:13.142573 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:13.157550 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:24:13.465623 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:24:13.466158 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:24:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:19.133327 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:19.134416 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:19.136584 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:19] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:19] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:19] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:19.802729 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:19.804222 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.384836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.388896 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.393889 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.398308 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.403174 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.405673 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.407686 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.430284 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.439375 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.459119 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.466125 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.474138 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.481135 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.487134 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.495669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.498668 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.506666 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.508669 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:20.519673 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:20.523929 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:24.472688 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:24] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:24.677016 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:24.678456 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:24.683966 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:24.687963 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:24] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:24.697493 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:24] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:24.778144 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:24] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-10-02 09:35:27.976945 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 09:35:27.978947 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 09:35:27] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_invoice.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-10-02 09:40:23.916022 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-10-02 09:40:23.916022 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-10-02 09:40:23.916022 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-10-02 09:40:23.916022 : ++ FLASK PORT 5001 ++ +INFO:root:2023-10-02 09:40:23.916022 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-10-02 09:40:33.455408 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-10-02 09:40:33.456410 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-10-02 09:40:33.456410 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-10-02 09:40:33.456410 : ++ FLASK PORT 5001 ++ +INFO:root:2023-10-02 09:40:33.456410 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2023-10-02 10:13:58.450493 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:13:58.452503 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:13:58.455950 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:13:58.458133 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:13:58] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:13:58] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:13:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:13:58] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:14:00.362421 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:14:00.365536 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:14:00] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:14:00] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:33:01.646204 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:33:01.651671 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:33:01.661916 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:33:01.676648 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:01] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:33:01.848020 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:33:01.852678 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:33:01.872711 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:01] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:33:01.881634 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:01] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:01] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:33:05.636507 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:33:05.646094 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:05] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:33:06.735983 : Get_List_Partner_Invoice_no_filter -time data '2023-10-01' does not match format '%d/%m/%Y' - Line : 848 +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:33:06] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_invoice.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-10-02 10:34:05.756833 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-10-02 10:34:05.756833 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-10-02 10:34:05.756833 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-10-02 10:34:05.756833 : ++ FLASK PORT 5001 ++ +INFO:root:2023-10-02 10:34:05.757826 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2023-10-02 10:34:05.859402 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:34:05.863417 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:34:05.869392 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:34:05.871571 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:34:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:34:05.877930 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:34:05.885859 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:34:05] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:34:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:34:05] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:34:05] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:34:51.583818 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:34:51.586837 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:34:51] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 500 - +INFO:root:2023-10-02 10:34:52.212684 : Get_Given_Partner_Invoice_Lines -'order_header_id' - Line : 475 +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:34:52] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 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-10-02 10:36:07.815766 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-10-02 10:36:07.815766 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-10-02 10:36:07.815766 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-10-02 10:36:07.815766 : ++ FLASK PORT 5001 ++ +INFO:root:2023-10-02 10:36:07.815766 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2023-10-02 10:36:44.010536 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:36:44.014220 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:36:44] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:36:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:37:06.863842 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:37:06.866541 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:37:06] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:37:06.871772 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:37:06] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:37:06.882862 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:37:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:37:06.974527 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:37:06.977879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:37:06] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:37:07] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:37:10.307805 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:37:10.312052 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:37:10] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:37:10.890378 : Get_Given_Partner_Invoice_Lines -'order_header_id' - Line : 475 +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:37:10] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_invoice.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-10-02 10:38:18.041165 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-10-02 10:38:18.041165 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-10-02 10:38:18.042168 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-10-02 10:38:18.042168 : ++ FLASK PORT 5001 ++ +INFO:root:2023-10-02 10:38:18.042168 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2023-10-02 10:46:11.017564 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:46:11.020581 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:11] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:11] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:46:16.978478 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:46:16.982341 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:46:16.986019 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:46:16.997249 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:46:17.100524 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:46:17.103115 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:17] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:17] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:46:20.771915 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:46:20.775869 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:20] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:46:20] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:48:59.043564 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:48:59.047595 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:48:59] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:48:59] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 10:50:53.740780 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 10:50:53.746117 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:50:53] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 10:50:53] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:01:39.528474 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:01:39.532578 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:01:39] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:01:39] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:02:05.417016 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:02:05.422497 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:02:05.426376 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:02:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:02:05.434724 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:02:05] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:02:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:02:05.528657 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:02:05.531654 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:02:05] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:02:05] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:02:09.425436 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:02:09.429362 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:02:09] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:02:09] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:04:47.517050 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:04:47.520901 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:04:47] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:04:47] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:19:29.419085 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:19:29.424590 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:19:29] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:19:29] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:21:26.375023 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:21:26.379115 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:21:26] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:21:26] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:25:22.831050 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:22.836565 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:22.840749 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:22] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:25:22.853380 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:22] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:25:22.947263 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:22.950270 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:22] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:22] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:25:26.822726 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:26.825739 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:26] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:26] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:25:44.320684 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:44.324830 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:44.330946 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:44.340401 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:44] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:44] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:25:47.207432 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:47.214640 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:47] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:47] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:25:56.014170 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:57.507054 : Convert_Quotation_to_Order Le devis Devis_1 a été correctement convertie en commande avec le numero : Order_48 +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:57] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:25:58.811758 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:25:58.814779 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:58] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:25:58] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:00.040477 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:26:00.044598 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:00] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:00] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:05.388321 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:26:05.391914 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:05] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:05] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:19.997746 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:20] "POST /myclass/api/Update_Partner_Order_Header/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:20.430517 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:20] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:21.733327 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:26:21.737351 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:21] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:21] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:37.460013 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:37] "POST /myclass/api/Update_Partner_Order_Header/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:37.486128 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:37] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:38.723853 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:26:38.726912 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:38] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:38] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:44.894852 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:44] "POST /myclass/api/Invoice_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:46.694785 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:26:46.697827 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:46] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:46] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:47.910186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:47] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:47.924650 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:47] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:26:56.162145 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:26:56.166128 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:56] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:26:56] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2023-10-02 11:27:00.255018 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-10-02 11:27:00.257016 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:27:00] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Oct/2023 11:27:00] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - diff --git a/main.py b/main.py index 644ec98..78cb9e0 100644 --- a/main.py +++ b/main.py @@ -4807,7 +4807,7 @@ def Get_Given_Partner_Invoice(): # On recupere le corps (payload) de la requete payload = mycommon.strip_dictionary (request.form.to_dict()) print(" ### Get_Given_Partner_Invoice payload = ",payload) - status, retval, invoice_id = partner_invoice.Get_Given_Partner_Invoice(payload) + status, retval = partner_invoice.Get_Given_Partner_Invoice(payload) return jsonify(status=status, message=retval) @@ -4820,7 +4820,7 @@ def Get_Given_Partner_Invoice_Lines(): # On recupere le corps (payload) de la requete payload = mycommon.strip_dictionary (request.form.to_dict()) print(" ### Get_Given_Partner_Invoice_Lines payload = ",payload) - status, retval, invoice_id = partner_invoice.Get_Given_Partner_Invoice_Lines(payload) + status, retval = partner_invoice.Get_Given_Partner_Invoice_Lines(payload) return jsonify(status=status, message=retval) @@ -4833,7 +4833,7 @@ def Get_Given_Partner_Invoice_Lines_From_Invoice_ref_interne(): # On recupere le corps (payload) de la requete payload = mycommon.strip_dictionary (request.form.to_dict()) print(" ### Get_Given_Partner_Invoice_Lines_From_Invoice_ref_interne payload = ",payload) - status, retval, invoice_id = partner_invoice.Get_Given_Partner_Invoice_Lines_From_Invoice_ref_interne(payload) + status, retval = partner_invoice.Get_Given_Partner_Invoice_Lines_From_Invoice_ref_interne(payload) return jsonify(status=status, message=retval) diff --git a/partner_invoice.py b/partner_invoice.py index a30b7a8..c3a6a77 100644 --- a/partner_invoice.py +++ b/partner_invoice.py @@ -472,7 +472,7 @@ def Get_Given_Partner_Invoice_Lines(diction): val_tmp = 1 filt_class_partner_recid = {'partner_owner_recid': str(my_partner['recid'])} - filt_invoice_header_id = {'invoice_header_id': str(diction['order_header_id'])} + filt_invoice_header_id = {'invoice_header_id': str(diction['invoice_header_id'])} query = [{'$match': {'$and': [ filt_invoice_header_id, {'partner_owner_recid': str(my_partner['recid'])}]}}, @@ -842,6 +842,14 @@ def Get_List_Partner_Invoice_no_filter(diction): user['id'] = str(val_tmp) val_tmp = val_tmp + 1 + # Convertir la date facture en jj/mm/aaaa + if( 'invoice_date' in New_retVal.keys()): + date_jjmmaaa = str(New_retVal['invoice_date'])[0:10] + print(" ### date_jjmmaaa = ", date_jjmmaaa) + #date_jjmmaaa = datetime.strptime(date_jjmmaaa, '%d/%m/%Y') + #New_retVal['invoice_date'] = str(date_jjmmaaa) + + # Si le champ 'order_header_client_id' alors on va chercher le nom du client if( 'order_header_client_id' in New_retVal.keys()): Client_data = MYSY_GV.dbname['partner_client'].find_one({'_id':ObjectId(str(New_retVal['order_header_client_id'])), 'valide':'1', 'locked':'0',