[Erp5-report] r10718 - in /erp5/trunk/bt5/erp5_banking_check: WorkflowTemplateItem/portal_w...
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Oct 14 14:11:06 CEST 2006
Author: seb
Date: Sat Oct 14 14:11:00 2006
New Revision: 10718
URL: http://svn.erp5.org?rev=10718&view=rev
Log:
fixed attribute error
Modified:
erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml
erp5/trunk/bt5/erp5_banking_check/bt/revision
Modified: erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml?rev=10718&r1=10717&r2=10718&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml (original)
+++ erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml Sat Oct 14 14:11:00 2006
@@ -88,7 +88,7 @@
# if so, this means that we are saling such kinds of check, thus\n
# we must change the position of the customer account\n
movement_list = transaction.getMovementList()\n
-total_debit = context.getSourceTotalAssetPrice()\n
+total_debit = transaction.getSourceTotalAssetPrice()\n
for movement in movement_list:\n
aggregate_value_list = movement.getAggregateValueList()\n
for item in aggregate_value_list:\n
@@ -122,15 +122,15 @@
bank_account.serialize()\n
\n
# Make sure there are no other operations pending for this account\n
- if context.BankAccount_isMessagePending(bank_account):\n
+ if transaction.BankAccount_isMessagePending(bank_account):\n
msg = Message(domain=\'ui\', message="There are operations pending for this account that prevent form calculating its position. Please try again later.")\n
raise ValidationFailed, (msg,)\n
\n
# Index the banking operation line so it impacts account position\n
- context.BankingOperationLine_index(line)\n
+ transaction.BankingOperationLine_index(line)\n
\n
# Test if the account balance is sufficient.\n
- error = context.BankAccount_checkBalance(bank_account.getRelativeUrl(), total_debit)\n
+ error = transaction.BankAccount_checkBalance(bank_account.getRelativeUrl(), total_debit)\n
if error[\'error_code\'] == 1:\n
msg = Message(domain=\'ui\', message="Bank account is not sufficient.")\n
raise ValidationFailed, (msg,)\n
@@ -202,7 +202,6 @@
<string>source</string>
<string>msg</string>
<string>movement_list</string>
- <string>context</string>
<string>total_debit</string>
<string>_getiter_</string>
<string>movement</string>
Modified: erp5/trunk/bt5/erp5_banking_check/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/bt/revision?rev=10718&r1=10717&r2=10718&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_check/bt/revision Sat Oct 14 14:11:00 2006
@@ -1,1 +1,1 @@
-14
+20
More information about the Erp5-report
mailing list