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

typos

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6933 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 414cedc3
......@@ -68,7 +68,7 @@
<key> <string>_body</string> </key>
<value> <string>"""Deletes all empty (ie. with balance == 0) lines in an accounting transaction\n
"""\n
from Producs.ERP5Type.Message import Message\n
from Products.ERP5Type.Message import Message\n
N_ = lambda msg: Message(\'erp5_ui\', msg)\n
lines_portal_type = context.getPortalAccountingMovementTypeList()\n
transaction = context.getObject()\n
......@@ -89,7 +89,7 @@ for line in transaction_lines:\n
\n
if len(id_to_delete_list) != len(transaction_lines):\n
# Don\'t delete everything\n
transaction.deleteContents(id_to_delete_list)\n
transaction.deleteContent(id_to_delete_list)\n
\n
if redirect:\n
context.REQUEST.RESPONSE.redirect("%s/view?portal_status_message=%s" % (\n
......
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