diff --git a/sco_formsemestre_edit.py b/sco_formsemestre_edit.py index 86692b0..d8e57bc 100644 --- a/sco_formsemestre_edit.py +++ b/sco_formsemestre_edit.py @@ -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: