Commit 28c965d0 authored by Jérome Perrin's avatar Jérome Perrin

use portal_catalog to show only validated accounts (and only accounts the...

use portal_catalog to show only validated accounts (and only accounts the current user can view at same time)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30769 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4d07799a
......@@ -269,11 +269,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -288,18 +285,15 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'\', \'\')] + [(x.Account_getFormattedTitle(), x.getRelativeUrl()) for x in here.portal_categories.account_type.asset.cash.getAccountTypeRelatedValueList(portal_type=\'Account\')]</string> </value>
<value> <string>python: [(\'\', \'\')] + [(x.Account_getFormattedTitle(), x.getRelativeUrl()) for x in context.portal_catalog(account_type_uid=context.portal_categories.account_type.asset.cash.getUid(), portal_type=\'Account\', validation_state=\'validated\')]</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -269,11 +269,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -288,18 +285,15 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'\', \'\')] + [(x.Account_getFormattedTitle(), x.getRelativeUrl()) for x in here.portal_categories.account_type.asset.cash.getAccountTypeRelatedValueList(portal_type=\'Account\')]</string> </value>
<value> <string>python: [(\'\', \'\')] + [(x.Account_getFormattedTitle(), x.getRelativeUrl()) for x in context.portal_catalog(account_type_uid=context.portal_categories.account_type.asset.cash.getUid(), portal_type=\'Account\', validation_state=\'validated\')]</string> </value>
</item>
</dictionary>
</pickle>
......
1034
\ No newline at end of file
1035
\ 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