ignore t_pershistoline where type is null (#14248)

This commit is contained in:
Frédéric Péters 2016-12-09 14:18:07 +01:00
parent e2c1aa7959
commit e20bff0dbf
1 changed files with 2 additions and 0 deletions

View File

@ -562,6 +562,8 @@ class SyncFromPcfDbView(BrowserView):
if row is None:
break
debut, fin, type, description, comppol = row
if not description:
continue
if type in ('P_FONC', 'M_FONC', 'M_PREM', 'P_COMM_SE'):
title = description
elif type == 'P_PARL':