[web/views/workflow] hide tr_count attribute in wf transition form stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 04 Jan 2011 14:26:38 +0100
branchstable
changeset 6763 9c4820021f52
parent 6760 2c1fc68ac258
child 6764 b2c1b481f310
[web/views/workflow] hide tr_count attribute in wf transition form
web/views/workflow.py
--- a/web/views/workflow.py	Tue Jan 04 13:42:01 2011 +0100
+++ b/web/views/workflow.py	Tue Jan 04 14:26:38 2011 +0100
@@ -74,6 +74,7 @@
 _afs = uicfg.autoform_section
 _afs.tag_subject_of(('TrInfo', 'to_state', '*'), 'main', 'hidden')
 _afs.tag_subject_of(('TrInfo', 'from_state', '*'), 'main', 'hidden')
+_afs.tag_attribute(('TrInfo', 'tr_count'), 'main', 'hidden')
 _afs.tag_object_of(('State', 'allowed_transition', '*'), 'main', 'attributes')