def compute_taxes(self):
    subtotal = self.compute_subtotal()
    loc = Surcharges.objects.get(location=self.location).location
    tax_rate = Decimal(str(loc.get_tax_rate()))
    return Decimal(round((subtotal * tax_rate), 2)).quantize(Decimal('.01'), rounding=ROUND_HALF_UP)
def compute_taxes(self):
    subtotal = self.compute_subtotal()
    loc = Surcharges.objects.get(location=self.location).location
    tax_rate = Decimal(str(loc.get_tax_rate()))
    return Decimal(round((subtotal * tax_rate), 2)).quantize(Decimal('.01'), rounding=ROUND_HALF_UP)