[views] BDO of simplified profile should propose edition of format_id
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 11 Oct 2017 11:34:43 +0200
changeset 2741 79239b803783
parent 2740 80c39123d029
child 2742 da38fb0bba11
[views] BDO of simplified profile should propose edition of format_id not format_litteral
cubicweb_seda/views/dataobject.py
--- a/cubicweb_seda/views/dataobject.py	Wed Oct 11 09:24:03 2017 +0200
+++ b/cubicweb_seda/views/dataobject.py	Wed Oct 11 11:34:43 2017 +0200
@@ -196,7 +196,7 @@
     __select__ = BinaryDataObjectFormatIdentificationTab.__select__ & simplified_profile()
 
     rsection, display_ctrl = rtags_from_xsd_element('SEDABinaryDataObject', 'FormatIdentification')
-    rsection.tag_object_of(('*', 'seda_format_id_from', 'SEDABinaryDataObject'), 'hidden')
+    rsection.tag_object_of(('*', 'seda_format_litteral', 'SEDABinaryDataObject'), 'hidden')
 
 
 class BinaryDataObjectFileInfoTab(viewlib.PrimaryTabWithoutBoxes):