Commit 144c57a0 authored by Vincent Pelletier's avatar Vincent Pelletier

Do not use catalog to compute total price.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18492 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 511ec9e0
......@@ -102,7 +102,7 @@ if destination_bank_account is not None:\n
raise ValidationFailed, (msg,)\n
\n
# Check if the total price is equal to the total asset price.\n
if transaction.getTotalPrice(portal_type = \'Check Operation Line\') != transaction.getSourceTotalAssetPrice():\n
if transaction.getTotalPrice(fast=0, portal_type = \'Check Operation Line\') != transaction.getSourceTotalAssetPrice():\n
msg = Message(domain=\'ui\', message="Total price doesn\'t match.")\n
raise ValidationFailed, (msg,)\n
\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