[Erp5-report] r31133 yusei - /erp5/trunk/products/ERP5/Document/Movement.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 8 06:42:28 CET 2009
Author: yusei
Date: Tue Dec 8 06:42:28 2009
New Revision: 31133
URL: http://svn.erp5.org?rev=31133&view=rev
Log:
Since getTotalPrice accepts any keyword arguments, _getTotalPrice must follow it.
Modified:
erp5/trunk/products/ERP5/Document/Movement.py
Modified: erp5/trunk/products/ERP5/Document/Movement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Movement.py?rev=31133&r1=31132&r2=31133&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Movement.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Movement.py [utf8] Tue Dec 8 06:42:28 2009
@@ -216,7 +216,7 @@
self.getVariationCategoryList())
return price
- def _getTotalPrice(self, default=None, context=None, fast=0):
+ def _getTotalPrice(self, default=None, context=None, fast=0, **kw):
price = self.getPrice(context=context)
quantity = self.getQuantity()
if isinstance(price, (int, float)) and \
More information about the Erp5-report
mailing list