diff --git a/product/ERP5/Document/Delivery.py b/product/ERP5/Document/Delivery.py index c2b873942a70f1fd487434f24485df2e14d6c7eb..c4966d4778af02eaf9e86a0093a786cb562d33b5 100644 --- a/product/ERP5/Document/Delivery.py +++ b/product/ERP5/Document/Delivery.py @@ -120,6 +120,9 @@ class Delivery(XMLObject, ImmobilisationDelivery): 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 @@ class Delivery(XMLObject, ImmobilisationDelivery): 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',