def getTotalQuantity(self, **kw) : """Returns the total quantity for this Order. """ if 'portal_type' not in kw: kw['portal_type'] = self.getPortalObject() \ .getPortalOrderMovementTypeList() if kw.get('fast'): kw['only_accountable'] = False return Delivery.getTotalQuantity(self, **kw)
def getTotalQuantity(self, **kw): """Returns the total quantity for this Order. """ if 'portal_type' not in kw: kw['portal_type'] = self.getPortalObject() \ .getPortalOrderMovementTypeList() if kw.get('fast'): kw['only_accountable'] = False return Delivery.getTotalQuantity(self, **kw)
def getTotalQuantity(self, **kw) : """Returns the total quantity for this Order. """ kw.setdefault('portal_type', self.getPortalOrderMovementTypeList()) if kw.get('fast'): kw['only_accountable'] = False return Delivery.getTotalQuantity(self, **kw)
def getTotalQuantity(self, **kw): """ Returns the total quantity for this invoice """ kw.setdefault('portal_type', self.getPortalInvoiceMovementTypeList()) return Delivery.getTotalQuantity(self, **kw)
def getTotalQuantity(self, **kw) : """Returns the total quantity for this Order. """ kw.setdefault('portal_type', self.getPortalOrderMovementTypeList()) return Delivery.getTotalQuantity(self, **kw)