Commit 8077eb2f authored by Aurel's avatar Aurel

-check not same source when doing dematerialization

-typo in title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15808 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b7979d0
...@@ -109,7 +109,10 @@ if transaction.isDematerialization():\n ...@@ -109,7 +109,10 @@ if transaction.isDematerialization():\n
if not \'encaisse_des_billets_retires_de_la_circulation\' in vault:\n if not \'encaisse_des_billets_retires_de_la_circulation\' in vault:\n
msg = Message(domain="ui", message="Invalid source.")\n msg = Message(domain="ui", message="Invalid source.")\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
\n if source_section in source_object.getPath():\n
msg = Message(domain="ui", message="You can\'t used this site.")\n
raise ValidationFailed, (msg,)\n
\n
\n \n
# Get price and total_price.\n # Get price and total_price.\n
amount = transaction.getSourceTotalAssetPrice()\n amount = transaction.getSourceTotalAssetPrice()\n
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Assigned To Vault Manager</string> </value> <value> <string>Assigned To Vault Manager</string> </value>
</item> </item>
<item> <item>
<key> <string>transitions</string> </key> <key> <string>transitions</string> </key>
......
485 487
\ No newline at end of file \ 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