Commit bbd0fb8e authored by Ivan Tyagov's avatar Ivan Tyagov

Do not translate portal type twice.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33082 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ea2a2c6f
......@@ -123,7 +123,7 @@ else:\n
# edit document \n
if document_edit_kw is not {}:\n
document.edit(**document_edit_kw)\n
document_portal_type = document.getTranslatedPortalType()\n
document_portal_type = document.getPortalType()\n
if not is_existing_document_updated:\n
message = \'%s created successfully.\' %document_portal_type\n
else:\n
......
75
\ No newline at end of file
76
\ 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