Fix: bug association sem. à nouvelle version

This commit is contained in:
Emmanuel Viennet 2021-04-23 00:06:07 +02:00
parent 314ed4ab7d
commit 4a5d4adee1

View File

@ -1199,7 +1199,7 @@ def _reassociate_moduleimpls(
)
for mod in modimpls:
mod["module_id"] = modules_old2new[mod["module_id"]]
context.do_moduleimpl_edit(mod, formsemestre_id=formsemestre_id, cnx=cnx)
sco_moduleimpl.do_moduleimpl_edit(context, mod, formsemestre_id=formsemestre_id)
# update decisions:
events = scolars.scolar_events_list(cnx, args={"formsemestre_id": formsemestre_id})
for e in events: