Commit 52b0e351 authored by Sebastien Robin's avatar Sebastien Robin

return object in Base_getCheckModelByBankAccount

also changed a tales expression

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14597 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a069fdc5
......@@ -36,7 +36,20 @@
<item>
<key> <string>_property_domain_dict</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item>
......@@ -114,4 +127,44 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_content</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>short_title</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_content</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>title</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -77,7 +77,7 @@ if entity_portal_type == \'Person\':\n
elif entity_portal_type == \'Organisation\':\n
check_model_reference = \'CCCO\'\n
check_resource = context.Base_getCheckModelByReference(\n
reference=check_model_reference).getRelativeUrl()\n
reference=check_model_reference)\n
return check_resource\n
</string> </value>
</item>
......
......@@ -281,7 +281,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'\', \'\')] + [(x.getTitle(), x.getRelativeUrl()) for x in here.checkbook_model_module.objectValues(portal_type=\'Check Model\') if not x.isFixedPrice()]</string> </value>
<value> <string>python: [(\'\', \'\')] + [(x.getTitle(), x.getRelativeUrl()) for x in here.checkbook_model_module.objectValues(portal_type=\'Check Model\')]</string> </value>
</item>
</dictionary>
</pickle>
......
242
\ No newline at end of file
244
\ 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