Update translation stats on save

This commit is contained in:
Michal Čihař 2012-02-29 09:57:04 +01:00
parent 87d198909d
commit 738d67a9c5

View File

@ -353,6 +353,7 @@ class Unit(models.Model):
(saved, pounit) = self.translation.update_unit(self, request)
self.translated = pounit.istranslated()
self.save(backend = True)
self.translation.update_stats()
# Propagate to other projects
if propagate:
allunits = Unit.objects.filter(