Add transitions to apply parameter PFWBINT-7
This commit is contained in:
parent
8a81d924ed
commit
d59a465ba2
|
@ -14,6 +14,7 @@ default_type = dmsincomingmail
|
|||
default_directory = documents
|
||||
user = secretariat-greffe
|
||||
treating_group = informatique
|
||||
;transitions_to_apply = to_assign,to_process
|
||||
|
||||
[xxxx-test-gaetandeberdt@pfwb.be]
|
||||
password = xxxxxx
|
||||
|
|
|
@ -88,6 +88,7 @@ def process(cfg, filename, payload, enable_ocr=True):
|
|||
'-F', 'form.widgets.title=%s' % title,
|
||||
'-F', 'form.widgets.notification_recipients=%s' % cfg.get('notification_recipients', ''),
|
||||
'-F', 'form.widgets.keywords=%s' % cfg.get('keywords', ''),
|
||||
'-F', 'form.widgets.transitions_to_apply=%s' % cfg.get('transitions_to_apply', ''),
|
||||
'-u', '%s:%s' % (cfg.get('ged_username'), cfg.get('ged_password')),
|
||||
'%s/@@fileimport' % cfg.get('ged_base_url'),])
|
||||
return (t == 0)
|
||||
|
|
Reference in New Issue