diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py index 22c6335..cd3eb39 100644 --- a/tabellio/pcfdb/sync.py +++ b/tabellio/pcfdb/sync.py @@ -960,6 +960,12 @@ class SyncFromPcfDbView(BrowserView): date, desc, authors, docid, docpages, comment, comid, views = histo_row if not views: continue + + if desc == u'Envoi à la sanction': + object.adopted = True + if desc == u'Décret': + object.decreted = True + if 'TBC' in views: pass # this line is ok, we will take it elif 'ARL' in views: