11/03/2024 - 15h

master
cherif 2024-03-11 14:57:11 +01:00
parent 7acd1166fd
commit a446b4640b
3 changed files with 6687 additions and 12 deletions

View File

@ -1,9 +1,10 @@
<?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="ddds">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="10/03/24 - 21h">
<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$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -73,13 +74,6 @@
<option name="presentableId" value="Default" />
<updated>1680804787304</updated>
</task>
<task id="LOCAL-00192" summary="09/01/24 - 19h30">
<created>1704825095909</created>
<option name="number" value="00192" />
<option name="presentableId" value="LOCAL-00192" />
<option name="project" value="LOCAL" />
<updated>1704825095911</updated>
</task>
<task id="LOCAL-00193" summary="11/01/24 - 21h30">
<created>1705004951917</created>
<option name="number" value="00193" />
@ -416,7 +410,14 @@
<option name="project" value="LOCAL" />
<updated>1710078593828</updated>
</task>
<option name="localTasksCounter" value="241" />
<task id="LOCAL-00241" summary="10/03/24 - 21h">
<created>1710101347415</created>
<option name="number" value="00241" />
<option name="presentableId" value="LOCAL-00241" />
<option name="project" value="LOCAL" />
<updated>1710101347417</updated>
</task>
<option name="localTasksCounter" value="242" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -431,7 +432,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="09/02/24 - 22h" />
<MESSAGE value="09/02/24 - 22hqsdsq" />
<MESSAGE value="11/02/2024 - 22h" />
<MESSAGE value="sdsdqs" />
@ -456,6 +456,7 @@
<MESSAGE value="07/03/2024 - 22h30" />
<MESSAGE value="ddd" />
<MESSAGE value="ddds" />
<option name="LAST_COMMIT_MESSAGE" value="ddds" />
<MESSAGE value="10/03/24 - 21h" />
<option name="LAST_COMMIT_MESSAGE" value="10/03/24 - 21h" />
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -3841,7 +3841,8 @@ def Push_Class_To_MySy_LMS(diction):
: title, description, objectif, prerequis, pourqui, programme, plus_produit
"""
Class_To_Push = MYSY_GV.dbname['myclass'].find_one({'internal_url':str(diction['class_internal_url']),
'valide':'1', 'locked':'0'})
'valide':'1', 'locked':'0',
'partner_owner_recid':str(my_partner['recid'])})
if( Class_To_Push is None ):
mycommon.myprint(
str(inspect.stack()[0][3]) + " - La formation '" + str(diction['class_internal_url']) + "' n'est pas valide ")
@ -4094,6 +4095,8 @@ def Push_Class_To_MySy_LMS(diction):
print(" #### data_cle 11 = ", data_cle)
print(" #### data_update 11 = ", data_update)
local_ret_val = MYSY_GV.dbname['myclass'].find_one_and_update(data_cle,
{"$set": data_update},