Commit e4dd2f9f authored by Vincent Pelletier's avatar Vincent Pelletier

Only make my_translated_immobilisation_state_title visible if there is a...

Only make my_translated_immobilisation_state_title visible if there is a workflow providing an immobilisation state.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20352 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 00e9f6ae
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>enabled</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -61,6 +62,12 @@ ...@@ -61,6 +62,12 @@
<key> <string>tales</string> </key> <key> <string>tales</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>extra_context</string> </key> <key> <string>extra_context</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -73,6 +80,14 @@ ...@@ -73,6 +80,14 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -80,6 +95,10 @@ ...@@ -80,6 +95,10 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>extra_context</string> </key> <key> <string>extra_context</string> </key>
<value> <value>
...@@ -95,7 +114,7 @@ ...@@ -95,7 +114,7 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Immobilisation State</string> </value> <value> <string>Immobilisation State</string> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -104,4 +123,20 @@ ...@@ -104,4 +123,20 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: getattr(here, \'getImmobilisationState\', None) is not None</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment