[Erp5-report] r22478 - in /erp5/trunk/bt5/erp5_accounting: ActionTemplateItem/portal_types/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jul 15 17:27:28 CEST 2008
Author: jerome
Date: Tue Jul 15 17:27:26 2008
New Revision: 22478
URL: http://svn.erp5.org?rev=22478&view=rev
Log:
Don't show grouping icon if the user is not allowed to access accounting module
Modified:
erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Organisation/grouping_reference_fast_input.xml
erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/grouping_reference_fast_input.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Organisation/grouping_reference_fast_input.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Organisation/grouping_reference_fast_input.xml?rev=22478&r1=22477&r2=22478&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Organisation/grouping_reference_fast_input.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Organisation/grouping_reference_fast_input.xml Tue Jul 15 17:27:26 2008
@@ -27,7 +27,9 @@
</item>
<item>
<key> <string>condition</string> </key>
- <value> <string></string> </value>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ </value>
</item>
<item>
<key> <string>description</string> </key>
@@ -36,7 +38,7 @@
<item>
<key> <string>icon</string> </key>
<value>
- <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
@@ -97,6 +99,22 @@
<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>
+ <tuple>
+ <global name="Expression" module="Products.CMFCore.Expression"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>text</string> </key>
<value> <string>string:${portal_url}/letter.png</string> </value>
</item>
</dictionary>
Modified: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/grouping_reference_fast_input.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/grouping_reference_fast_input.xml?rev=22478&r1=22477&r2=22478&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/grouping_reference_fast_input.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/grouping_reference_fast_input.xml Tue Jul 15 17:27:26 2008
@@ -27,7 +27,9 @@
</item>
<item>
<key> <string>condition</string> </key>
- <value> <string></string> </value>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ </value>
</item>
<item>
<key> <string>description</string> </key>
@@ -36,7 +38,7 @@
<item>
<key> <string>icon</string> </key>
<value>
- <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
@@ -97,6 +99,22 @@
<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>
+ <tuple>
+ <global name="Expression" module="Products.CMFCore.Expression"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>text</string> </key>
<value> <string>string:${portal_url}/letter.png</string> </value>
</item>
</dictionary>
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=22478&r1=22477&r2=22478&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Tue Jul 15 17:27:26 2008
@@ -1,1 +1,1 @@
-725
+726
More information about the Erp5-report
mailing list