Native gui first steps: storage, box and companies are editable

This commit is contained in:
thooge committed 2026-10-21 17:16:55 +02:00
1 parent 1eea4058bf
commit 06a9834688
47 files changed
+3119 -883

No files matched your search

+6
View File
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: WTFPL
from .dbrecord import DbRecord
from yms.lookup import Table
class Box(DbRecord):
@@ -12,3 +13,8 @@ class Box(DbRecord):
def __init__(self, db, boxid=None):
super().__init__(db, boxid)
self.title = _("Box({})")
def save(self, commit=True):
super().save(Table.BOXES)
if commit:
self.conn.commit()