Somewhat fix errors when adding an applicant

This commit is contained in:
Yuri Becker
2025-04-16 11:00:06 +02:00
parent f0382a960e
commit cf5822c950
5 changed files with 38 additions and 62 deletions

View File

@@ -27,7 +27,7 @@ class EmployeeModel(QAbstractTableModel):
self.__key = self.__conf['pyqcrm']['ENCRYPTION_KEY']
self.__getData()
@Slot(dict, bool)
@Slot(dict)
def addEmployee(self, new_employee):
if 'worklicense' in new_employee:
new_employee['worklicense'] = int(new_employee['worklicense'])