#NEWLINE# @ property #NEWLINE# def total( self ) : #NEWLINE# #INDENT# if ( self . total_net is not None ) : #NEWLINE# #INDENT# gross = ( self . total_net . net + self . total_tax . gross ) #NEWLINE# return Price ( net = self . total_net . net , gross = gross , currency = settings . DEFAULT_CURRENCY )