openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
20 stars 2 forks source link

♻️(backend) set enrollment on save if needed #746

Closed jbpenrath closed 3 months ago

jbpenrath commented 3 months ago

Purpose

Currently enrollment state synchronization on LMS is not triggered on save. That is weird as in several cases we could create/enrollment without synchronizing it.In order to fix that, we trigger this synchronization on active enrollment creation and if its active state has been updated.

Proposal