Index: vertimus/views.py
===================================================================
--- vertimus/views.py	(révision 1329)
+++ vertimus/views.py	(copie de travail)
@@ -27,7 +27,7 @@
 
 from people.models import Person
 from stats.models import Statistics, Module, Branch, Domain, Language
-from vertimus.models import StateDb, ActionDb, ActionAbstract
+from vertimus.models import StateDb, ActionDb, ActionAbstract, ActionBA, StateCommitted
 from vertimus.forms import ActionForm
 
 def vertimus_by_stats_id(request, stats_id, lang_id):
@@ -86,6 +86,11 @@
                 action = ActionAbstract.new_by_name(action)
                 new_state = state.apply_action(action, person, comment, request.FILES.get('file', None))
                 new_state.save()
+                if isinstance(new_state, StateCommitted):
+                    # Backup actions
+                    ba_action = ActionBA()
+                    new_state = new_state.apply_action(ba_action, person)
+                    new_state.save()
 
                 return HttpResponseRedirect(
                     urlresolvers.reverse('vertimus-names-view', 
