23/02/2024 - 22h30
parent
4bbe36b428
commit
30fe9071b3
|
@ -1,14 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="dd">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="ddr">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/partner_document_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/partner_document_mgt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/partner_invoice.py" beforeDir="false" afterPath="$PROJECT_DIR$/partner_invoice.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/prj_common.py" beforeDir="false" afterPath="$PROJECT_DIR$/prj_common.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -78,13 +76,6 @@
|
|||
<option name="presentableId" value="Default" />
|
||||
<updated>1680804787304</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00175" summary="16/12/2023 - 23h12">
|
||||
<created>1702764810012</created>
|
||||
<option name="number" value="00175" />
|
||||
<option name="presentableId" value="LOCAL-00175" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1702764810013</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00176" summary="18/12/2023 - 18:00">
|
||||
<created>1702919463867</created>
|
||||
<option name="number" value="00176" />
|
||||
|
@ -421,7 +412,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1708260895528</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="224" />
|
||||
<task id="LOCAL-00224" summary="ddr">
|
||||
<created>1708698485603</created>
|
||||
<option name="number" value="00224" />
|
||||
<option name="presentableId" value="LOCAL-00224" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1708698485604</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="225" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -436,7 +434,6 @@
|
|||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="21/01/2024 -18h30" />
|
||||
<MESSAGE value="22/01/2024 -22h00" />
|
||||
<MESSAGE value="24/01/2024 -12h00" />
|
||||
<MESSAGE value="rrr" />
|
||||
|
@ -461,6 +458,7 @@
|
|||
<MESSAGE value="17/02/2024 - 11h" />
|
||||
<MESSAGE value="18/02/2024 - 14h" />
|
||||
<MESSAGE value="dd" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="dd" />
|
||||
<MESSAGE value="ddr" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="ddr" />
|
||||
</component>
|
||||
</project>
|
553
Log/log_file.log
553
Log/log_file.log
|
@ -2098534,3 +2098534,556 @@ INFO:root:2024-02-23 15:22:23.329229 : Security check : IP adresse '127.0.0.1'
|
|||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 15:22:23] "[32mPOST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email HTTP/1.1[0m" 308 -
|
||||
INFO:root:2024-02-23 15:22:23.335229 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 15:22:23] "POST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 21:26:53.009739 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:26:53.010743 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:26:53.010743 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:26:53.010743 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:26:53.010743 : ++ 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:2024-02-23 21:27:11.709591 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:27:11.709591 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:27:11.709591 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:27:11.709591 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:27:11.709591 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:28:30.851482 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:28:30.851482 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:28:30.851482 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:28:30.851482 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:28:30.851482 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:28:56.612529 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:28:56.612529 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:28:56.613544 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:28:56.613544 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:28:56.613544 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:29:39.025017 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:29:39.025017 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:29:39.026019 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:29:39.026019 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:29:39.026019 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:30:37.643925 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:30:37.643925 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:30:37.643925 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:30:37.643925 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:30:37.643925 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:34:29.430258 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:34:29.430258 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:34:29.430258 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:34:29.430258 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:34:29.430258 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:34:48.572611 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:34:48.572611 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:34:48.573984 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:34:48.573984 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:34:48.573984 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:35:22.515664 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:35:22.515664 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:35:22.515664 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:35:22.521673 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:35:22.521673 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:36:30.674628 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:36:30.674628 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:36:30.674628 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:36:30.674628 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:36:30.675898 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:37:20.095649 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:37:20.095649 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:37:20.095649 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:37:20.095649 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:37:20.095649 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 21:39:42.369299 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 21:39:42.370294 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 21:39:42.370294 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 21:39:42.370294 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 21:39:42.370294 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:02:25.169031 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:02:25.170090 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:02:25.170090 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:02:25.170090 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:02:25.170090 : ++ 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:2024-02-23 22:02:34.086830 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:02:34.086830 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:02:34.086830 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:02:34.088199 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:02:34.088199 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:04:00.453192 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:04:00] "[32mPOST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email HTTP/1.1[0m" 308 -
|
||||
INFO:root:2024-02-23 22:04:00.464192 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:04:00] "POST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:05:10.126255 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:05:10.126255 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:05:10.126255 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:05:10.126255 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:05:10.126255 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:05:13.377070 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:05:13] "[32mPOST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email HTTP/1.1[0m" 308 -
|
||||
INFO:root:2024-02-23 22:05:13.384258 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:05:13] "POST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:06:52.102811 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:06:52.104342 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:06:52.106338 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:06:52] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:06:52] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:06:52] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:06:52.422167 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:06:52.424302 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:06:52] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:07:10.136822 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:07:10.136822 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:07:10.136822 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:07:10.136822 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:07:10.136822 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:07:10.182997 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.187006 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.190999 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.193016 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.197002 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.202002 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:10.597312 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.599817 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:10.602809 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:10.607805 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:10.612807 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:10.616130 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:10.907044 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:10.914138 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.915146 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:10.923657 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.925027 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:10.927553 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:10] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.222097 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.228081 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:11.230415 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.240206 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.245558 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.249559 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.536062 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.545074 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.556102 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:07:11.563106 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.570096 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:07:11.578654 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:07:11] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:07:47.200027 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:07:47.200027 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:07:47.200027 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:07:47.200027 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:07:47.200027 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:09:42.395153 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:09:42.395153 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:09:42.395153 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:09:42.395153 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:09:42.395153 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:09:42.460176 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.462167 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.464156 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.466636 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.469629 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.913023 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.916201 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.920726 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.922877 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.929714 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.932872 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.936929 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.944568 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.951590 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.954602 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.960970 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.964985 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.970068 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.974644 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.977928 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:42.983651 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.987034 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:42.993972 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:43.001024 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:43.005567 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:43.009134 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:43.015566 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:43.020162 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:43.022163 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:43.026466 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:43.032281 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:43.035615 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:43.041815 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:09:43.047410 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:09:43.050958 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:09:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:10:21.774452 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10:21] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:10:21.934866 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:10:21.937678 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:10:21.939781 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:10:21.950774 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:10:21.952674 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10:21] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10:22] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:10:22.032241 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:10:22.035064 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10:22] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10:22] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:10:27.264336 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:10:27.267333 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:10:27.874528 : Get_List_Partner_Invoice_no_filter -'' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - Line : 887
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:10: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:2024-02-23 22:20:29.922313 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:20:29.922313 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:20:29.922313 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:20:29.922313 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:20:29.922313 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:20:47.310468 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:20:47.313474 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:20:47.317696 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:20:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:20:47.327575 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:20:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:20:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:20:47.423891 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:20:47.427400 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:20:47] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:20:47] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:21:02.452509 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:21:02.455905 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:21:02] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:21:02.998102 : Get_Given_Partner_Invoice -'' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - Line : 397
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:21:02] "POST /myclass/api/Get_Given_Partner_Invoice/ 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:2024-02-23 22:21:57.847855 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:21:57.847855 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:21:57.847855 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:21:57.847855 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:21:57.847855 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:22:00.342811 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:22:00.344812 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:22:00.349217 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:22:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:22:00.358098 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:22:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:22:00] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:22:00.449859 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:22:00.453526 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:22:00] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:22:00] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:22:07.439946 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:22:07.442983 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:22:07] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:22:07] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:23:20.911068 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:23:20.914056 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:23:20.917058 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:20] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:23:20.927067 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:20] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:23:21.028674 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:23:21.030716 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:21] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:21] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:23:35.499387 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:35] "[32mPOST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email HTTP/1.1[0m" 308 -
|
||||
INFO:root:2024-02-23 22:23:35.503386 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:35] "POST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:23:41.239557 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:23:41.243092 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:23:41.246594 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:23:41.261041 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:23:41.345361 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:23:41.347932 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:41] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:23:46.869786 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:23:46.873302 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:46] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:23:46] "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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:26:22.895676 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:26:22.895676 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:26:22.895676 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:26:22.895676 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:26:22.896654 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:26:58.261406 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:26:58] "[32mPOST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email HTTP/1.1[0m" 308 -
|
||||
INFO:root:2024-02-23 22:26:58.268403 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:26:58] "POST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:27:04.242277 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:27:04.246305 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:27:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:27:04.250734 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:27:04.260343 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:27:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:27:04] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:27:04.353291 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:27:04.357016 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:27:04] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:27:04] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:27:10.152935 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:27:10.155966 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:27:10] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:27:10] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:27:51.064050 : Security check : IP adresse '127.0.0.1' connected
|
||||
DEBUG:xhtml2pdf:pisaDocument options:
|
||||
src = '<p style="text-align: center;"><strong><img style="float: right;" src="https://img.mysy-training.com/MYSY-LOGO-BLUE.png" alt="" width="100" height="51"></strong></p>\n<p style="text-align: center;"> </p>\n<p style="text-align: center;"> </p>\n<p style="text-align: center; font-size: 20px; color: #212f3c;"><strong> Facture n° Invoice_21 <br></strong></p>\n<p style="text-align: right; color: #212f3c; padding-right: 10px;">Client 1 <br> <br> - <br></p>\n<p> </p>\n<p></p>\n<p>Vous n\'avez pas de réduction sur cette facture.</p>\n<p> </p>\n<p>Rappel Commande <strong>n° Code_Session_SESS_02_DEMO_AP </strong></p>\n<table style="border-collapse: collapse; width: 100%; border-width: 0px; border-style: none;" border="1"><colgroup><col style="width: 33.3333%;"><col style="width: 33.3333%;"><col style="width: 33.3333%;"></colgroup>\n<tbody>\n<tr style="background-color: rgb(194, 224, 244); border-color: rgb(255, 255, 255); border-style: solid; height: 40px;">\n<td style="border-width: 0px; padding: 5px; font-weight: bold;">Description</td>\n<td style="text-align: center; border-width: 0px; padding: 5px; font-weight: bold;">Qty</td>\n<td style="text-align: center; border-width: 0px; padding: 5px; font-weight: bold;">Prix Unit.</td>\n<td style="text-align: center; font-weight: bold; padding: 5px;">Montant</td>\n</tr>\n<tr style="height: 0px; border-style: none;">\n<td style="border-width: 0px;" colspan="3"> </td>\n</tr>\n<tr style="background-color: rgb(236, 240, 241); border-style: solid; height: 50px; border-color: rgb(255, 255, 255);">\n<td style="text-align: left; padding: 5px;">DEMO 1 PRATICIEN EN AROMATHERAPIE INTEGRATIVE</td>\n<td style="text-align: center; padding: 5px;">2</td>\n<td style="text-align: center; padding: 5px;"></td>\n<td style="text-align: center; padding: 5px;"></td>\n</tr>\n<tr style="height: 0px; border-style: none;">\n<td style="border-width: 0px;" colspan="3"> </td>\n</tr>\n</tbody>\n</table>\n<p> </p>\n<p> </p>\n<p> </p>\n<p> </p>\n<p> </p>\n<table style="width: 50%; margin-left: auto; border: none;">\n<tbody>\n<tr style="border: none;">\n<td colspan="2"> </td>\n<td style="background-color: rgb(194, 224, 244); border-color: rgb(255, 255, 255); border-style: solid; height: 30px; text-align: center;" colspan="2"><strong>Totaux</strong></td>\n</tr>\n<tr style="height: 26.0833px;">\n<td colspan="2"> </td>\n<td style="background-color: #f2f4f4; height: 20px; text-align: left;">Total Remise</td>\n<td style="background-color: #f2f4f4; height: 20px; text-align: center;">( 0 )</td>\n</tr>\n<tr style="height: 26.0833px;">\n<td colspan="2"> </td>\n<td style="background-color: #f2f4f4; height: 20px; text-align: left;">Total HT</td>\n<td style="background-color: #f2f4f4; height: 20px; text-align: center;"> €</td>\n</tr>\n<tr style="height: 26.0833px;">\n<td colspan="2"> </td>\n<td style="background-color: #f2f4f4; height: 20px; text-align: left;">TVA</td>\n<td style="background-color: #f2f4f4; height: 20px; text-align: center;">19 €</td>\n</tr>\n<tr style="height: 26.0833px;">\n<td colspan="2"> </td>\n<td style="background-color: #f2f4f4; height: 20px; text-align: left;"><strong>Total</strong></td>\n<td style="background-color: #f2f4f4; height: 20px; text-align: center;"><strong>62000.0 €</strong></td>\n</tr>\n</tbody>\n</table>\n<p> </p>\n<p> </p>\n<p style="text-align: left;"><strong>Condition de règlement : </strong></p>\n<p style="text-align: left;"><strong>Date échéance : 23/02/2024 </strong></p>\n<p> </p>\n<p> </p>\n<p> </p>\n<p style="text-align: right;">23/02/2024, 22:27:51 </p>'
|
||||
dest = <_io.BufferedRandom name='./temp_direct/Partner_Invoice_Invoice_21.pdf'>
|
||||
path = None
|
||||
link_callback = None
|
||||
xhtml = False
|
||||
context_meta = None
|
||||
DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__'
|
||||
DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https')
|
||||
DEBUG:xhtml2pdf:Parsing img tag, src: <xhtml2pdf.files.pisaFileObject object at 0x0000025541108EE0>
|
||||
DEBUG:xhtml2pdf:Attrs: {'src': <xhtml2pdf.files.pisaFileObject object at 0x0000025541108EE0>, 'width': 100.0, 'height': 51.0, 'align': None, 'id': None}
|
||||
DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib
|
||||
DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png
|
||||
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
|
||||
DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
|
||||
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:Col 2 has width 7.5
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:Col 3 has width 7.5
|
||||
DEBUG:xhtml2pdf:Col widths: [None, None, 7.5, 7.5]
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:None
|
||||
DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
|
||||
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
|
||||
DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
|
||||
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:27:51] "GET /myclass/api/GerneratePDF_Partner_Invoice/pQWJ7O3Q8LEIq5Kr4tHSdKHTAQGyD4pmzA/65d90da205b699c1c1f37db5 HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:29:58.598291 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:29:58.598291 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:29:58.599303 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:29:58.599303 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:29:58.599303 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:31:04.050707 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:31:04.050707 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:31:04.051701 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:31:04.051701 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:31:04.051701 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:31:46.361931 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:31:46.361931 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:31:46.361931 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:31:46.362930 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:31:46.362930 : ++ 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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:32:08.799137 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:32:08.799137 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:32:08.799137 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:32:08.799137 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:32:08.799137 : ++ 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:2024-02-23 22:38:52.159218 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:38:52.159218 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:38:52.160218 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:38:52.160218 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:38:52.160218 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:38:52.193763 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:38:52] "[32mPOST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email HTTP/1.1[0m" 308 -
|
||||
INFO:root:2024-02-23 22:38:52.201910 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:38:52] "POST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:39:01.760780 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:39:01.764804 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:39:01.768629 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:39:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:39:01.780228 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:39:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:39:01] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:39:01.884520 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:39:01.887065 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:39:01] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:39:01] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-02-23 22:39:06.705045 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-02-23 22:39:06.709044 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:39:06] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:39:06] "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\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-02-23 22:40:41.284907 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-02-23 22:40:41.284907 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-02-23 22:40:41.284907 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-02-23 22:40:41.284907 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-02-23 22:40:41.285905 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-02-23 22:40:41.350774 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:40:41] "[32mPOST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email HTTP/1.1[0m" 308 -
|
||||
INFO:root:2024-02-23 22:40:41.360764 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Feb/2024 22:40:41] "POST /myclass/api/Prepare_and_Send_Facture_From_Session_By_Email/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Session_Formation.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
|
|
|
@ -6913,7 +6913,7 @@ def Prepare_and_Send_Facture_From_Session_By_Email(tab_files, Folder, diction):
|
|||
mycommon.myprint(
|
||||
str(inspect.stack()[0][
|
||||
3]) + " La valeur '" + val + "' n'est pas presente dans liste ")
|
||||
return False, " La valeur '" + val + "' n'est pas presente dans liste"
|
||||
return False, " La valeur '" + val + "' n'est pas presente dans liste", False
|
||||
|
||||
my_token = ""
|
||||
if ("token" in diction.keys()):
|
||||
|
@ -6922,7 +6922,7 @@ def Prepare_and_Send_Facture_From_Session_By_Email(tab_files, Folder, 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
|
||||
|
||||
# Verifier que la session est valide
|
||||
is_session_valide = MYSY_GV.dbname['session_formation'].count_documents(
|
||||
|
@ -6934,7 +6934,7 @@ def Prepare_and_Send_Facture_From_Session_By_Email(tab_files, Folder, diction):
|
|||
mycommon.myprint(
|
||||
str(inspect.stack()[0][
|
||||
3]) + " L'identifiant de la session est invalide ")
|
||||
return False, " L'identifiant de la session est invalide "
|
||||
return False, " L'identifiant de la session est invalide ", False
|
||||
|
||||
|
||||
# Verifier qu'il ya bien des inscriptions valides dans la session pour le client
|
||||
|
@ -6956,7 +6956,7 @@ def Prepare_and_Send_Facture_From_Session_By_Email(tab_files, Folder, diction):
|
|||
status, saved_file_full_path = mycommon.Upload_Save_PDF_IMG_File(file, Folder)
|
||||
if (status is False):
|
||||
mycommon.myprint("Impossible de récupérer correctement le fichier à importer")
|
||||
return False, "Impossible de récupérer correctement le fichier à importer"
|
||||
return False, "Impossible de récupérer correctement le fichier à importer", False
|
||||
|
||||
tab_saved_file_full_path.append(saved_file_full_path)
|
||||
|
||||
|
@ -6985,7 +6985,7 @@ def Prepare_and_Send_Facture_From_Session_By_Email(tab_files, Folder, diction):
|
|||
|
||||
if (local_status is False):
|
||||
mycommon.myprint(" Impossible de récupérer les contacts de communication du client ")
|
||||
return False, " Impossible de récupérer les contacts de communication du client "
|
||||
return False, " Impossible de récupérer les contacts de communication du client ", False
|
||||
|
||||
print(" ### partner_client_contact_communication = ", partner_client_contact_communication)
|
||||
tab_local_email_production = []
|
||||
|
@ -7013,9 +7013,9 @@ def Prepare_and_Send_Facture_From_Session_By_Email(tab_files, Folder, diction):
|
|||
diction_invoice['partner_client_id'] = single_client
|
||||
diction_invoice['session_id'] = diction['session_id']
|
||||
print(" ##### diction_invoice 0202 = ", diction_invoice)
|
||||
local_create_invoice_status, local_create_invoice_retval = Invoice_Partner_From_Session(diction_invoice)
|
||||
local_create_invoice_status, local_create_invoice_retval, local_invoice_ref_interne = Invoice_Partner_From_Session(diction_invoice)
|
||||
if( local_create_invoice_status is False ):
|
||||
return local_create_invoice_status, local_create_invoice_retval
|
||||
return local_create_invoice_status, local_create_invoice_retval, False
|
||||
|
||||
"""
|
||||
local_status, local_retval = Sent_Facture_Stagiaire_By_Email_By_Partner_client(tab_saved_file_full_path, Folder, new_diction_client)
|
||||
|
@ -7027,12 +7027,12 @@ def Prepare_and_Send_Facture_From_Session_By_Email(tab_files, Folder, diction):
|
|||
"""
|
||||
|
||||
|
||||
return True, " Les Factures ont été correctement créées et envoyées par emails"
|
||||
return True, " Les Factures ont été correctement créées et envoyées par emails", local_invoice_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 et d'envoyer les factures par email "
|
||||
return False, " Impossible de créer et d'envoyer les factures par email ", False
|
||||
|
||||
|
||||
|
||||
|
@ -7050,7 +7050,7 @@ def Invoice_Partner_From_Session( diction):
|
|||
mycommon.myprint(
|
||||
str(inspect.stack()[0][
|
||||
3]) + " La valeur '" + val + "' n'est pas presente dans liste ")
|
||||
return False, " La valeur '" + val + "' n'est pas presente dans liste"
|
||||
return False, " La valeur '" + val + "' n'est pas presente dans liste", False
|
||||
|
||||
my_token = ""
|
||||
if ("token" in diction.keys()):
|
||||
|
@ -7059,7 +7059,7 @@ def Invoice_Partner_From_Session( 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
|
||||
|
||||
# Verifier que la session est valide
|
||||
is_session_id_valide = MYSY_GV.dbname['session_formation'].count_documents(
|
||||
|
@ -7071,7 +7071,7 @@ def Invoice_Partner_From_Session( diction):
|
|||
mycommon.myprint(
|
||||
str(inspect.stack()[0][
|
||||
3]) + " L'identifiant de la session est invalide ")
|
||||
return False, " L'identifiant de la session est invalide "
|
||||
return False, " L'identifiant de la session est invalide ", False
|
||||
|
||||
# Verifier que ce client a bien des inscriptions valide pour cette session
|
||||
nb_valide_inscription_pr_client = MYSY_GV.dbname['inscription'].count_documents(
|
||||
|
@ -7084,7 +7084,7 @@ def Invoice_Partner_From_Session( diction):
|
|||
mycommon.myprint(
|
||||
str(inspect.stack()[0][
|
||||
3]) + " Aucune inscription valide pour ce client pour cette session ")
|
||||
return False, " Aucune inscription valide pour ce client pour cette session "
|
||||
return False, " Aucune inscription valide pour ce client pour cette session ", False
|
||||
|
||||
partner_client_id_data = MYSY_GV.dbname['partner_client'].find_one(
|
||||
{'_id': ObjectId(str(diction['partner_client_id'])),
|
||||
|
@ -7135,7 +7135,7 @@ def Invoice_Partner_From_Session( diction):
|
|||
price_by = session_data['perstagiaire']
|
||||
if( price_by not in MYSY_GV.TRAINING_PRICE) :
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Le prix par " + str(price_by) + " n'est valide. Les valeurs autorisées sont " + str(MYSY_GV.TRAINING_PRICE))
|
||||
return False, " Le prix par " + str(price_by) + " n'est valide. Les valeurs autorisées sont " + str(MYSY_GV.TRAINING_PRICE) + " "
|
||||
return False, " Le prix par " + str(price_by) + " n'est valide. Les valeurs autorisées sont " + str(MYSY_GV.TRAINING_PRICE) + " ", False
|
||||
|
||||
partner_invoice_header_data = {}
|
||||
|
||||
|
@ -7196,11 +7196,11 @@ def Invoice_Partner_From_Session( diction):
|
|||
session_price = 0
|
||||
if( "prix_session" not in session_data.keys() ):
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Facturation : La session n'a pas de prix valide")
|
||||
return False, " Facturation : La session n'a pas de prix valide "
|
||||
return False, " Facturation : La session n'a pas de prix valide ", False
|
||||
|
||||
if( str(session_data['prix_session']).strip() == "" ):
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Facturation : La session n'a pas de prix valide (2) ")
|
||||
return False, " Facturation : La session n'a pas de prix valide (2) "
|
||||
return False, " Facturation : La session n'a pas de prix valide (2) ", False
|
||||
|
||||
prix_session = mycommon.tryFloat(str(session_data['prix_session']))
|
||||
|
||||
|
@ -7217,7 +7217,7 @@ def Invoice_Partner_From_Session( diction):
|
|||
|
||||
if( taux_tva_statuts is False ):
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Facturation : Impossible de récupérer le taux de TVA ")
|
||||
return False, " Facturation : Impossible de récupérer le taux de TVA "
|
||||
return False, " Facturation : Impossible de récupérer le taux de TVA ", False
|
||||
|
||||
tmp = ast.literal_eval(taux_tva_retval[0])
|
||||
taux_tva_retval = tmp['config_value']
|
||||
|
@ -7225,14 +7225,11 @@ def Invoice_Partner_From_Session( diction):
|
|||
tva_status, tva_value = mycommon.IsFloat(str(taux_tva_retval))
|
||||
if (tva_status is False):
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Facturation : Le taux de TVA est invalide ")
|
||||
return False, " Facturation : Le taux de TVA est invalide "
|
||||
return False, " Facturation : Le taux de TVA est invalide ", False
|
||||
|
||||
partner_invoice_header_data['order_header_tax'] = taux_tva_retval
|
||||
|
||||
partner_invoice_header_data['order_header_tax_amount'] = round(tva_value * total_ht, 2)
|
||||
|
||||
partner_invoice_header_data['total_header_toutes_taxes'] = round(total_ht + (tva_value * total_ht), 2)
|
||||
|
||||
partner_invoice_header_data['order_header_tax_amount'] = str(round(tva_value * total_ht/100, 2))
|
||||
partner_invoice_header_data['total_header_toutes_taxes'] = str(round(total_ht + (tva_value * total_ht)/100, 2))
|
||||
partner_invoice_header_data['invoice_header_type'] = "facture"
|
||||
|
||||
# Récuperation de la sequence de l'objet "partner_invoice_header" dans la collection : "mysy_sequence"
|
||||
|
@ -7251,7 +7248,7 @@ def Invoice_Partner_From_Session( diction):
|
|||
# Il n'y aucune sequence meme par defaut.
|
||||
|
||||
mycommon.myprint(" Facture : Impossible de récupérer la sequence 'retval_sequence_invoice' ")
|
||||
return False, "Facture : Impossible de récupérer la sequence 'retval_sequence_invoice' "
|
||||
return False, "Facture : Impossible de récupérer la sequence 'retval_sequence_invoice' ", False
|
||||
|
||||
current_seq_value = str(retval_sequence_invoice['current_val'])
|
||||
new_sequence_value = int(mycommon.tryInt(current_seq_value)) + 1
|
||||
|
@ -7265,27 +7262,102 @@ def Invoice_Partner_From_Session( diction):
|
|||
)
|
||||
invoice_date_time = str(datetime.now().strftime("%d/%m/%Y"))
|
||||
|
||||
partner_invoice_header_data['invoice_header_ref_interne'] = "facture"
|
||||
|
||||
"""
|
||||
Verifier qu'il n'y pas une facture du partenaire avec le meme ref interne
|
||||
"""
|
||||
is_already_invoice_ref_exist = MYSY_GV.dbname['partner_invoice_header'].count_documents({'partner_invoice_header':str(my_partner['recid']),
|
||||
'valide':'1',
|
||||
'invoice_header_ref_interne':str(retval_sequence_invoice['prefixe'] + str(current_seq_value))})
|
||||
|
||||
if( is_already_invoice_ref_exist > 0 ):
|
||||
mycommon.myprint(" Facture : Il existe déjà une facture avec la même ref. interne : "+str(retval_sequence_invoice['prefixe'] + str(current_seq_value)))
|
||||
return False, " Facture : Il existe déjà une facture avec la même ref. interne : "+str(retval_sequence_invoice['prefixe'] + str(current_seq_value)), False
|
||||
|
||||
|
||||
partner_invoice_header_data['invoice_header_ref_interne'] = retval_sequence_invoice['prefixe'] + str(current_seq_value)
|
||||
partner_invoice_header_data['invoice_header_type'] = "facture"
|
||||
partner_invoice_header_data['invoice_date'] = invoice_date_time
|
||||
partner_invoice_header_data['update_by'] = str(my_partner['_id'])
|
||||
partner_invoice_header_data['valide'] = "1"
|
||||
partner_invoice_header_data['locked'] = "0"
|
||||
partner_invoice_header_data['partner_owner_recid'] = str(my_partner['recid'])
|
||||
|
||||
|
||||
print(" #### partner_invoice_header_data = ", partner_invoice_header_data)
|
||||
inserted_invoice_id = MYSY_GV.dbname['partner_invoice_header'].insert_one(partner_invoice_header_data).inserted_id
|
||||
if (not inserted_invoice_id):
|
||||
mycommon.myprint(" Facture : Impossible de créer l'entête de la facture ")
|
||||
return False, " Facture : Impossible de créer l'entête de la facture "
|
||||
return False, " Facture : Impossible de créer l'entête de la facture ", False
|
||||
|
||||
|
||||
"""
|
||||
Création des lignes de facture.
|
||||
Pour memo, dans la collection : partner_invoice_line
|
||||
order_line_formation = titre formation
|
||||
order_line_qty = nb participants
|
||||
order_line_comment = la liste des personnes participans
|
||||
"""
|
||||
|
||||
partner_invoice_line_data = {}
|
||||
list_partner_invoice_line_champ = ['order_line_formation', 'order_line_qty', 'order_line_prix_unitaire', 'order_line_tax', 'order_line_tax_amount', 'order_line_montant_toutes_taxes',
|
||||
'order_line_montant_hors_taxes', 'order_line_type_reduction', 'order_line_type_valeur', 'order_line_montant_reduction', 'order_header_ref_interne',
|
||||
'order_line_comment', 'order_header_id', 'valide', 'locked', 'date_update', 'partner_owner_recid', 'invoice_header_ref_interne', 'invoice_line_type',
|
||||
'invoice_date', 'invoice_header_id']
|
||||
|
||||
|
||||
return True, "L'email a été correctement envoyé "
|
||||
# PreRemplir les champs
|
||||
for val in list_partner_invoice_line_champ:
|
||||
partner_invoice_line_data[str(val)] = ""
|
||||
|
||||
nb_participant_du_client = len(tab_apprenant)
|
||||
|
||||
nom_prenom_email_participant = ""
|
||||
for val in tab_apprenant:
|
||||
local_apprenant = MYSY_GV.dbname['apprenant'].find_one({'_id':val, 'partner_owner_recid':str(my_partner['recid']),
|
||||
'valide':'1', 'locked':'0'})
|
||||
|
||||
local_nom = ""
|
||||
local_prenom = ""
|
||||
local_email = ""
|
||||
if( "nom" in local_apprenant.keys() ):
|
||||
local_nom = local_apprenant['nom']
|
||||
|
||||
if ("prenom" in local_apprenant.keys()):
|
||||
local_prenom = local_apprenant['prenom']
|
||||
|
||||
if ("email" in local_apprenant.keys()):
|
||||
local_email = local_apprenant['email']
|
||||
|
||||
nom_prenom_email_participant += local_nom+" "+local_prenom+" "+local_email+"\n"
|
||||
|
||||
partner_invoice_line_data['order_line_formation'] = class_data[0]['internal_url']
|
||||
partner_invoice_line_data['order_line_qty'] = str(nb_participant_du_client)
|
||||
partner_invoice_line_data['order_line_prix_unitaire'] = str(prix_session)
|
||||
partner_invoice_line_data['order_line_montant_hors_taxes'] = str(total_ht)
|
||||
partner_invoice_line_data['order_line_comment'] = str(nom_prenom_email_participant)
|
||||
partner_invoice_line_data['invoice_header_id'] = str(inserted_invoice_id)
|
||||
partner_invoice_line_data['invoice_line_type'] = "facture"
|
||||
partner_invoice_line_data['invoice_header_ref_interne'] = partner_invoice_header_data['invoice_header_ref_interne']
|
||||
partner_invoice_line_data['update_by'] = str(my_partner['_id'])
|
||||
partner_invoice_line_data['valide'] = "1"
|
||||
partner_invoice_line_data['locked'] = "0"
|
||||
partner_invoice_line_data['partner_owner_recid'] = str(my_partner['recid'])
|
||||
|
||||
print(" #### partner_invoice_line_data = ", partner_invoice_line_data)
|
||||
inserted_invoice_id = MYSY_GV.dbname['partner_invoice_line'].insert_one(
|
||||
partner_invoice_line_data).inserted_id
|
||||
if (not inserted_invoice_id):
|
||||
mycommon.myprint(" Facture : Impossible de créer les lignes de la facture "+str(partner_invoice_header_data['invoice_header_ref_interne']))
|
||||
return False, " Facture : Impossible de créer les lignes de la facture "+str(partner_invoice_header_data['invoice_header_ref_interne']), False
|
||||
|
||||
|
||||
return True, "L'email a été correctement envoyé ", str(partner_invoice_header_data['invoice_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 d'envoyer la convention par email "
|
||||
return False, " Impossible d'envoyer la convention par email ", False
|
||||
|
||||
|
||||
|
||||
|
|
4
main.py
4
main.py
|
@ -7779,8 +7779,8 @@ def Prepare_and_Send_Facture_From_Session_By_Email():
|
|||
for tmp in request.files.getlist("File"):
|
||||
tab_files.append(tmp)
|
||||
|
||||
status, retval = SF.Prepare_and_Send_Facture_From_Session_By_Email(tab_files, MYSY_GV.TEMPORARY_DIRECTORY_V2, payload)
|
||||
return jsonify(status=status, message=retval)
|
||||
status, retval, invoice_ref = SF.Prepare_and_Send_Facture_From_Session_By_Email(tab_files, MYSY_GV.TEMPORARY_DIRECTORY_V2, payload)
|
||||
return jsonify(status=status, message=retval, invoice_ref=invoice_ref)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -392,7 +392,7 @@ def Get_Given_Partner_Invoice(diction):
|
|||
user['order_header_client_nom'] = str(Client_data['nom'])
|
||||
|
||||
# Si le champ 'order_header_vendeur_id' alors on va chercher le nom et prenom du vendeur (employe)
|
||||
if ('order_header_vendeur_id' in retval.keys()):
|
||||
if ('order_header_vendeur_id' in retval.keys() and retval['order_header_vendeur_id']):
|
||||
Employee_data = MYSY_GV.dbname['ressource_humaine'].find_one(
|
||||
{'_id': ObjectId(str(retval['order_header_vendeur_id'])), 'valide': '1', 'locked': '0',
|
||||
'partner_recid': str(my_partner['recid'])})
|
||||
|
@ -882,7 +882,7 @@ def Get_List_Partner_Invoice_no_filter(diction):
|
|||
user['order_header_client_nom'] = str(Client_data['nom'])
|
||||
|
||||
# Si le champ 'order_header_vendeur_id' alors on va chercher le nom et prenom du vendeur (employe)
|
||||
if ('order_header_vendeur_id' in New_retVal.keys()):
|
||||
if ('order_header_vendeur_id' in New_retVal.keys() and New_retVal['order_header_vendeur_id']):
|
||||
Employee_data = MYSY_GV.dbname['ressource_humaine'].find_one(
|
||||
{'_id': ObjectId(str(New_retVal['order_header_vendeur_id'])), 'valide': '1', 'locked': '0',
|
||||
'partner_recid': str(my_partner['recid'])})
|
||||
|
|
Loading…
Reference in New Issue