[Erp5-report] r10589 - /erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Oct 6 10:59:19 CEST 2006
Author: aurel
Date: Fri Oct 6 10:59:17 2006
New Revision: 10589
URL: http://svn.erp5.org?rev=10589&view=rev
Log:
add parameter to index with source or destination payment value
Modified:
erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/BankingOperationLine_index.xml
Modified: erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/BankingOperationLine_index.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/BankingOperationLine_index.xml?rev=10589&r1=10588&r2=10589&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/BankingOperationLine_index.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/BankingOperationLine_index.xml Fri Oct 6 10:59:17 2006
@@ -69,7 +69,10 @@
<item>
<key> <string>_body</string> </key>
<value> <string># Reindex the given line with a tag so it can be found in the message table.\n
-line.reindexObject(tag=context.BankAccount_getMessageTag(line.getDestinationPaymentValue()))\n
+if source:\n
+ line.reindexObject(tag=context.BankAccount_getMessageTag(line.getSourcePaymentValue()))\n
+else:\n
+ line.reindexObject(tag=context.BankAccount_getMessageTag(line.getDestinationPaymentValue()))\n
</string> </value>
</item>
<item>
@@ -92,7 +95,7 @@
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string>line</string> </value>
+ <value> <string>line, source=0</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -112,15 +115,16 @@
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
- <value> <int>1</int> </value>
+ <value> <int>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>line</string>
+ <string>source</string>
<string>_getattr_</string>
-<string>context</string>
+ <string>context</string>
</tuple>
</value>
</item>
@@ -132,7 +136,9 @@
<item>
<key> <string>func_defaults</string> </key>
<value>
- <none/>
+ <tuple>
+ <int>0</int>
+ </tuple>
</value>
</item>
<item>
More information about the Erp5-report
mailing list