Commit 0b952f6c authored by Ivan Tyagov's avatar Ivan Tyagov

Enable action only if we are dealing with an ERP5 Person object.

parent a77d40f7
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
</item> </item>
<item> <item>
<key> <string>condition</string> </key> <key> <string>condition</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -36,7 +38,7 @@ ...@@ -36,7 +38,7 @@
<key> <string>permissions</string> </key> <key> <string>permissions</string> </key>
<value> <value>
<tuple> <tuple>
<string></string> <string>View</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -68,4 +70,17 @@ ...@@ -68,4 +70,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: here.ERP5Site_getAuthenticatedMemberPersonValue() is not None</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
375 376
\ No newline at end of file \ No newline at end of file
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