Work on native gui. Display records and add missing tasks and measurements.

This commit is contained in:
thooge committed 2026-09-30 16:18:44 +02:00
1 parent c3109b9d2a
commit 131af7d9e7
45 files changed
+6043 -1966

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ class DbRecord:
self.conn = db.conn
self.last_update = None
self.title = _("DbRecord({})") # for pretty print
self._title = _("DbRecord({})") # for pretty print
if record_id is not None:
self.pk_value = int(record_id)
@@ -142,7 +142,7 @@ class DbRecord:
return True
def __str__(self):
out = [self.title.format(self.pk_value)]
out = [self._title.format(self.pk_value)]
for field in self.fields:
value = getattr(self, field, None)
out.append(" {:15}: {}".format(field, value))