Commit b849f9d8 authored by Jérome Perrin's avatar Jérome Perrin

Account_getFormattedTitle can be called on the context of an account.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10547 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 28b94db7
......@@ -68,7 +68,10 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>gap_id = account.Account_getGapId()\n
<value> <string>if account is None:\n
account = context\n
\n
gap_id = account.Account_getGapId()\n
title = account.getTitle()\n
\n
if gap_id.isdigit():\n
......@@ -97,7 +100,7 @@ return title\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>account</string> </value>
<value> <string>account=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -124,6 +127,8 @@ return title\n
<value>
<tuple>
<string>account</string>
<string>None</string>
<string>context</string>
<string>_getattr_</string>
<string>gap_id</string>
<string>title</string>
......@@ -138,7 +143,9 @@ return title\n
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<none/>
</tuple>
</value>
</item>
<item>
......
61
\ No newline at end of file
62
\ 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