def getTotalDiscountedPrice(self):
        """Compute total discounted price
        """
        price = self.getDiscountedPrice()
        vat = self.getVAT()
        price = price and price or 0
        vat = vat and vat or 0
        return float(price) + (float(price) * float(vat)) / 100
def getTotalDiscountedPrice ( self ) : price = self . getDiscountedPrice ( ) vat = self . getVAT ( ) price = price and price or 0 vat = vat and vat or 0 return float ( price ) + ( float ( price ) * float ( vat ) ) / 100
Compute total discounted price