sync adopted/decreted info on dossiers
This commit is contained in:
parent
05a86149b9
commit
8283baf003
|
@ -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:
|
||||
|
|
Reference in New Issue