manage case where barman is already logged in another device

This commit is contained in:
imperosol
2026-06-11 16:39:56 +02:00
parent 1957aa1fdb
commit 519a7758c5
6 changed files with 73 additions and 29 deletions
+1 -1
View File
@@ -1105,7 +1105,7 @@ class Permanency(models.Model):
on_delete=models.CASCADE,
)
start = models.DateTimeField(_("start date"))
end = models.DateTimeField(_("end date"), null=True, db_index=True)
end = models.DateTimeField(_("end date"), null=True, blank=True, db_index=True)
activity = models.DateTimeField(_("last activity date"), auto_now=True)
class Meta: