17/08/2024 - 20h55
parent
5eb922559d
commit
83b3123d81
|
@ -2,10 +2,14 @@
|
|||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="dddss">
|
||||
<change afterPath="$PROJECT_DIR$/suivi_pedagogique.py" afterDir="false" />
|
||||
<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$/partner_order.py" beforeDir="false" afterPath="$PROJECT_DIR$/partner_order.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/domaine_formation_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/domaine_formation_mgt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/groupe_inscrit_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/groupe_inscrit_mgt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/invoice_paiement_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/invoice_paiement_mgt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/model_planning_sequence_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/model_planning_sequence_mgt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/suivi_pedagogique_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/suivi_pedagogique_mgt.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
|
8039
Log/log_file.log
8039
Log/log_file.log
File diff suppressed because it is too large
Load Diff
|
@ -124,7 +124,7 @@ def Add_Class_Domaine(diction):
|
|||
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, " IImpossible de créer le domaine de formation "
|
||||
return False, " Impossible de créer le domaine de formation "
|
||||
|
||||
|
||||
"""
|
||||
|
|
|
@ -1526,7 +1526,7 @@ def Automatic_Creation_Groupe_Member_Inscrit(diction):
|
|||
local_node['type_groupe_code'] = str(diction['type_groupe_code'])
|
||||
local_node['class_id'] = str(diction['class_id'])
|
||||
local_node['session_id'] = str(diction['session_id'])
|
||||
local_node['color'] = str(tab_color_random['cpt'])
|
||||
local_node['color'] = str(tab_color_random[cpt])
|
||||
local_node['liste_inscrit'] = []
|
||||
global_tab_groupe.append(local_node)
|
||||
|
||||
|
|
|
@ -592,7 +592,7 @@ def Get_Invoice_Liste_Payement(diction):
|
|||
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, " IImpossible de récuperer les paiements de la facture "
|
||||
return False, " Impossible de récuperer les paiements de la facture "
|
||||
|
||||
|
||||
|
||||
|
@ -690,7 +690,7 @@ def Get_Invoice_Liste_Payement_And_Total_Amount(diction):
|
|||
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, " IImpossible de récuperer les paiements de la facture "
|
||||
return False, " Impossible de récuperer les paiements de la facture "
|
||||
|
||||
|
||||
"""
|
||||
|
@ -804,7 +804,7 @@ def Get_Invoice_Total_Amount_Payed_And_Remaining_Amount(diction):
|
|||
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, " IImpossible de récuperer les montants de la facture "
|
||||
return False, " Impossible de récuperer les montants de la facture "
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -733,11 +733,22 @@ def Apply_Planning_Model_To_Session(diction):
|
|||
local_node['agenda'] = str(new_sequence['local_agenda'])
|
||||
local_node['objectif'] = str(new_sequence['local_objectif'])
|
||||
local_node['commentaire'] = str(new_sequence['local_comment'])
|
||||
|
||||
if( "type" in new_sequence.keys() ):
|
||||
local_node['type'] = str(new_sequence['type'])
|
||||
else:
|
||||
local_node['type'] = ""
|
||||
|
||||
local_node['valide'] = "1"
|
||||
local_node['locked'] = "0"
|
||||
local_node['partner_owner_recid'] = str(my_partner['recid'])
|
||||
local_node['update_by'] = str(my_partner['_id'])
|
||||
|
||||
local_node['grp_apprenant_id'] = ""
|
||||
local_node['ue_id'] = ""
|
||||
local_node['ue_planif_line_id'] = ""
|
||||
|
||||
|
||||
MYSY_GV.dbname['session_formation_sequence'].insert_one(local_node)
|
||||
|
||||
|
||||
|
|
|
@ -635,7 +635,7 @@ def Get_Given_Suivi_Pedagogique(diction):
|
|||
# Recuperer l'internal url de la formation
|
||||
class_title = ""
|
||||
class_internal_url = ""
|
||||
if("class_id" in retval.keys() and retval['retval']):
|
||||
if("class_id" in retval.keys() and retval['class_id']):
|
||||
class_data = MYSY_GV.dbname['myclass'].find_one({'_id':ObjectId(str(retval['class_id'])),
|
||||
'partner_owner_recid':str(my_partner['recid'])}, {'title':1})
|
||||
|
||||
|
|
Loading…
Reference in New Issue