[PATCH eac] [3.25] Add another uicfg rules that are not anymore deducted

Sylvain Thenault sylvain.thenault at logilab.fr
Thu Apr 13 12:22:18 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1492078922 -7200
#      Thu Apr 13 12:22:02 2017 +0200
# Node ID 718258f07cfc572f5e80727ae8dcae101648e368
# Parent  a1817189cc29d197072e79c6e4fddc796996fdc0
[3.25] Add another uicfg rules that are not anymore deducted

diff --git a/cubicweb_eac/views.py b/cubicweb_eac/views.py
--- a/cubicweb_eac/views.py
+++ b/cubicweb_eac/views.py
@@ -117,10 +117,12 @@ afs.tag_object_of(('AgentPlace', 'place_
 # AgentFunction
 affk.set_field_kwargs('AgentFunction', 'name', widget=fw.TextInput({'size': 80}))
 
 
 afs.tag_object_of(('*', 'name_entry_for', 'AuthorityRecord'), 'main', 'inlined')
+afs.tag_subject_of(('NameEntry', 'name_entry_for', '*'), 'main', 'hidden')
+
 affk.set_fields_order('AuthorityRecord', [('name_entry_for', 'object')])
 pvdc.set_fields_order('AuthorityRecord', [('name_entry_for', 'object')])
 affk.set_field_kwargs('NameEntry', 'parts', widget=fw.TextInput({'size': 80}))
 
 affk.set_field_kwargs('EACOtherRecordId', 'value', widget=fw.TextInput({'size': 80}))


More information about the saem-devel mailing list