[Erp5-report] r26948 - /erp5/trunk/products/ERP5/Document/TradeCondition.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 13 10:34:04 CEST 2009
Author: fabien
Date: Wed May 13 10:34:02 2009
New Revision: 26948
URL: http://svn.erp5.org?rev=26948&view=rev
Log:
here we wants to compare movements with movements. In this case, contentValues doesn't return movements but probably Trade Model Lines, so use getMovementList instead.
Modified:
erp5/trunk/products/ERP5/Document/TradeCondition.py
Modified: erp5/trunk/products/ERP5/Document/TradeCondition.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TradeCondition.py?rev=26948&r1=26947&r2=26948&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] Wed May 13 10:34:02 2009
@@ -69,7 +69,7 @@
)
def updateAggregatedAmountList(self, context, **kw):
- existing_movement_list = context.contentValues()
+ existing_movement_list = context.getMovementList()
aggregated_amount_list = self.getAggregatedAmountList(context = context,
**kw)
modified_resource_list = []
More information about the Erp5-report
mailing list