This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
3 changed files with
3 additions and
0 deletions
|
|
|
@ -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)
|
|
|
|
|