#NEWLINE# @ property #NEWLINE# def subtotal( self ) : #NEWLINE# #INDENT# ' Subtotal, the amount excluding the taxes ' #NEWLINE# subtotal = Decimal ( 0 ) #NEWLINE# for item in self . items . all ( ) : #NEWLINE# #INDENT# subtotal += self . amount #NEWLINE# #UNINDENT# return subtotal