Commit 69e0b765 authored by Mayoro Diagne's avatar Mayoro Diagne

2010-07-07 mayoro

* remove test because id will be always present in owner_info

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36962 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d725b4a
......@@ -57,10 +57,7 @@
return first_name plus last name of the owner of document if the document belong\n
to a registry person in person_module otherwise it\'a an anonymous requester\n
"""\n
\n
if \'id\' in context.owner_info().keys():\n
owner = context.owner_info()[\'id\']\n
\n
owner = context.owner_info()[\'id\']\n
owner_object = context.portal_catalog.getResultValue(portal_type=\'Person\', reference=owner)\n
\n
owner_name = \'Requester\'\n
......@@ -126,9 +123,9 @@ return owner_name\n
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>_getitem_</string>
<string>_getattr_</string>
<string>context</string>
<string>_getitem_</string>
<string>owner</string>
<string>owner_object</string>
<string>owner_name</string>
......
2010-07-07 mayoro
* remove test because id will be always present in owner_info
2010-07-07 mayoro
* display name of requester in attachment list
......
701
\ No newline at end of file
702
\ 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