add sync of suite number
This commit is contained in:
parent
5a4eeab13d
commit
3989284f75
|
@ -175,10 +175,13 @@ class SyncFromThemis(UtilityView):
|
|||
datetime.datetime.strptime(
|
||||
data.get(attr), '%Y-%m-%d').toordinal())
|
||||
|
||||
for attr in ('numero_biq', 'numero_document'):
|
||||
for attr in ('numero_biq', 'numero_document', 'numero_bqr'):
|
||||
if data.get(attr):
|
||||
object.no = data.get(attr)
|
||||
|
||||
if data.get('numero_suite'):
|
||||
object.nodoc = data.get('numero_suite')
|
||||
|
||||
related_doc_ids = []
|
||||
for attr in ('cr_seance', 'documents_lies', 'bulletin_des_travaux',
|
||||
'bulletin_questions_ecrites',
|
||||
|
|
Reference in New Issue