Skip to content

Commit

Permalink
[Les ptits lutins] Bug saisie planning référence
Browse files Browse the repository at this point in the history
  • Loading branch information
bsongis committed Feb 12, 2017
1 parent 313d99f commit 52d4a06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ooffice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
1 change: 1 addition & 0 deletions panel_inscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 3 additions & 1 deletion panel_salaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 52d4a06

Please sign in to comment.