From 82629738eb603070c82f3e1fe29c813d1e4f0661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 3 Oct 2019 16:00:27 +0200 Subject: [PATCH] ignore placeholder deputies (#36632) --- tabellio/pcfdb/sync.py | 1 + 1 file changed, 1 insertion(+) 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