code: def getDiscountedPrice(self):
          
          price = self.getPrice()
          price = price and price or 0
          discount = self.bika_setup.getMemberDiscount()
          discount = discount and discount or 0
          return float(price) - (float(price) * float(discount)) / 100
docs: Compute discounted price excl. VAT