[PATCH saem_ref] Allow non-simplified profile mode to be selected upon SEDAArchiveTransfer creation

Denis Laxalde denis.laxalde at logilab.fr
Fri Apr 13 15:19:09 CEST 2018


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1523624128 -7200
#      Fri Apr 13 14:55:28 2018 +0200
# Node ID f7ec7fccfb9b12cd2f8173f78765a0ab2a95ba9e
# Parent  1643e1be9c15edba6416480e0e353988893bfa99
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r f7ec7fccfb9b
# EXP-Topic CONSEJIRA-449
Allow non-simplified profile mode to be selected upon SEDAArchiveTransfer creation

CONSEJIRA-449

diff --git a/cubicweb_saem_ref/views/seda.py b/cubicweb_saem_ref/views/seda.py
--- a/cubicweb_saem_ref/views/seda.py
+++ b/cubicweb_saem_ref/views/seda.py
@@ -31,8 +31,6 @@ affk = uicfg.autoform_field_kwargs
 afs = uicfg.autoform_section
 pvs = uicfg.primaryview_section
 
-# we want only simplified_profile, so its default is set to true and it only has to be hidden
-afs.tag_attribute(('SEDAArchiveTransfer', 'simplified_profile'), 'main', 'hidden')
 # also hide transferring and archival agency
 for rtype in ('seda_transferring_agency', 'seda_archival_agency'):
     afs.tag_subject_of(('SEDAArchiveTransfer', rtype, '*'), 'main', 'hidden')



More information about the saem-devel mailing list