diff --git a/ooffice.py b/ooffice.py index 37e51215..4c0eb285 100644 --- a/ooffice.py +++ b/ooffice.py @@ -805,7 +805,7 @@ def OnSauver(self, event): dlg = None try: if self.modifications.multi is not False: - errors = { } + errors = {} simple_modifications = self.modifications.GetSimpleModifications(self.oo_filename) for i, (filename, modifs) in enumerate(simple_modifications): self.gauge.SetValue((100 * i) / len(simple_modifications)) diff --git a/panel_inscriptions.py b/panel_inscriptions.py index 90f1643e..805e27d1 100644 --- a/panel_inscriptions.py +++ b/panel_inscriptions.py @@ -716,6 +716,7 @@ def UpdateContents(self): line.reference = None line.summary = SUMMARY_ENFANT line.options |= ACTIVITES + line.salarie = None lines.append(line) self.SetLines(lines) diff --git a/panel_salaries.py b/panel_salaries.py index 8b816ff9..f69818ff 100644 --- a/panel_salaries.py +++ b/panel_salaries.py @@ -211,6 +211,7 @@ def UpdateContents(self): line.sublabel = "" line.reference = None line.summary = True + line.salarie = self.contrat.salarie lines.append(line) self.SetLines(lines) @@ -381,7 +382,8 @@ def SetSalarie(self, salarie): def UpdateContents(self): self.GetCurrentPage().UpdateContents() - + + class SalariesPanel(GPanel): name = u"SalariƩs" bitmap = GetBitmapFile("salaries.png")