Commit 57ac25fc authored by Jérome Perrin's avatar Jérome Perrin

Don't show grouping icon if the user is not allowed to access accounting module

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22478 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5bc979f8
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,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 @@
<item> <item>
<key> <string>icon</string> </key> <key> <string>icon</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -87,6 +89,22 @@ string:${portal_url}/accounting_module/AccountingTransactionModule_viewGroupingF ...@@ -87,6 +89,22 @@ string:${portal_url}/accounting_module/AccountingTransactionModule_viewGroupingF
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:portal.restrictedTraverse(\'accounting_module\', None) is not None</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<global name="Expression" module="Products.CMFCore.Expression"/> <global name="Expression" module="Products.CMFCore.Expression"/>
......
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,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 @@
<item> <item>
<key> <string>icon</string> </key> <key> <string>icon</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -87,6 +89,22 @@ string:${portal_url}/accounting_module/AccountingTransactionModule_viewGroupingF ...@@ -87,6 +89,22 @@ string:${portal_url}/accounting_module/AccountingTransactionModule_viewGroupingF
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:portal.restrictedTraverse(\'accounting_module\', None) is not None</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<global name="Expression" module="Products.CMFCore.Expression"/> <global name="Expression" module="Products.CMFCore.Expression"/>
......
725 726
\ 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