add possibility to set treating group
This commit is contained in:
parent
209759d8f1
commit
be3c07f6bd
|
@ -12,6 +12,7 @@ password = xxxxxx
|
|||
default_type = dmsincomingmail
|
||||
default_directory = documents
|
||||
user = secretariat-greffe
|
||||
treating_group = informatique
|
||||
|
||||
[xxxx-test-gaetandeberdt@pfwb.be]
|
||||
password = xxxxxx
|
||||
|
|
|
@ -60,6 +60,7 @@ def process(cfg, filename, payload, enable_ocr=True):
|
|||
'-F "form.widgets.portal_type=%s" '\
|
||||
'-F "form.widgets.location=%s" '\
|
||||
'-F "form.widgets.owner=%s" '\
|
||||
'-F "form.widgets.treating_group=%s" '\
|
||||
'-F "form.widgets.title=%s" '\
|
||||
'-u admin:admin '\
|
||||
'%s/@@fileimport' % (
|
||||
|
@ -67,6 +68,7 @@ def process(cfg, filename, payload, enable_ocr=True):
|
|||
cfg.get('default_type'),
|
||||
cfg.get('default_directory'),
|
||||
cfg.get('user'),
|
||||
cfg.get('treating_group'),
|
||||
urllib.quote(title),
|
||||
cfg.get('ged_base_url')))
|
||||
return (t == 0)
|
||||
|
|
Reference in New Issue