Commit 4cb6b073 authored by Sebastien Robin's avatar Sebastien Robin

fixed typo error

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15439 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e1814dbf
......@@ -111,12 +111,12 @@ elif resource <> 0 :\n
if transaction.isDematerialization():\n
for line in transaction.objectValues(portal_type=\'Cash Delivery Line\'):\n
if line.getResourceValue().getPortalType() != \'Coin\':\n
msg = Message(domain="ui", message="Sorry, dematerializatio is possible only with coins.")\n
msg = Message(domain="ui", message="Sorry, dematerialization is possible only with coins.")\n
raise ValidationFailed, (msg,)\n
# Also we must make sure that the source_section is defined\n
source_section = transation.getSourceSection()\n
source_section = transaction.getSourceSection()\n
if source_section is None:\n
msg = Message(domain="ui", message="Sorry, dematerializatio is possible only if the external agency is defined.")\n
msg = Message(domain="ui", message="Sorry, dematerialization is possible only if the external agency is defined.")\n
raise ValidationFailed, (msg,)\n
if not \'encaisse_des_billets_retires_de_la_circulation\' in vault:\n
msg = Message(domain="ui", message="Invalid source.")\n
......@@ -184,7 +184,6 @@ if transaction.isDematerialization():\n
<string>total_price</string>
<string>_getiter_</string>
<string>line</string>
<string>transation</string>
</tuple>
</value>
</item>
......
449
\ No newline at end of file
451
\ 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