(Feb-04-2022, 07:48 PM)Axel_Erfurt Wrote: The function UpdateArticlesModel only has print. Where is the database updated?
The 'articles' table does not get updated.
Only the 'positions' table gets updated (line 146).
(the list of the combo is populated by the data of the 'positions' table)
The articles model gets refreshed at line 67 (ok, I should have named it 'RefreshArticlesModel' instead of 'UpdateArticlesModel'):
@QtCore.pyqtSlot() def UpdateArticlesModel(self): print("Articles Form: Update Articles Model called!") if not self.ArticlesModel.select(): print("Articles Form: " + self.ArticlesModel.lastError())