[Erp5-report] r10189 - /erp5/trunk/products/ERP5/Document/Delivery.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 19 22:03:46 CEST 2006
Author: seb
Date: Tue Sep 19 22:03:41 2006
New Revision: 10189
URL: http://svn.erp5.org?rev=10189&view=rev
Log:
add more comments
Modified:
erp5/trunk/products/ERP5/Document/Delivery.py
Modified: erp5/trunk/products/ERP5/Document/Delivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Delivery.py?rev=10189&r1=10188&r2=10189&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Delivery.py (original)
+++ erp5/trunk/products/ERP5/Document/Delivery.py Tue Sep 19 22:03:41 2006
@@ -120,6 +120,9 @@
if the `fast` argument is set to a true value, then it use
SQLCatalog to compute the price, otherwise it sums the total
price of objects one by one.
+
+ So if the order is not in the catalog, getTotalPrice(fast=1)
+ will return 0, this is not a bug.
"""
if not fast :
kw.setdefault( 'portal_type',
@@ -140,6 +143,9 @@
if the `fast` argument is set to a true value, then it use
SQLCatalog to compute the quantity, otherwise it sums the total
quantity of objects one by one.
+
+ So if the order is not in the catalog, getTotalQuantity(fast=1)
+ will return 0, this is not a bug.
"""
if not fast :
kw.setdefault('portal_type',
More information about the Erp5-report
mailing list