sync adopted/decreted info on dossiers

This commit is contained in:
Frédéric Péters 2011-11-17 13:19:10 +01:00
parent 05a86149b9
commit 8283baf003
1 changed files with 6 additions and 0 deletions

View File

@ -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: