summaryrefslogtreecommitdiffstats
path: root/tabellio
diff options
context:
space:
mode:
Diffstat (limited to 'tabellio')
-rw-r--r--tabellio/pcfdb/sync.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index 0c14438..b8778f9 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -508,6 +508,7 @@ class SyncFromPcfDbView(BrowserView):
FROM t_pers, t_pershistoline, t_comppol, t_parl, t_arrond
WHERE t_pers.st = 'S_PARL' and
t_pers.prenom is not NULL and
+ t_pers.nom is not like '%% N %%' and
t_pers.id = t_pershistoline.pers and
t_pershistoline.description = t_comppol.id and
t_pershistoline.type = 'P_CMPL' and