#NEWLINE# @ property #NEWLINE# def total_before_tax( self ) : #NEWLINE# #INDENT# entries_total = [ Decimal ( item . total_before_tax ) for item in self . proforma_entries . all ( ) ] #NEWLINE# res = sum ( entries_total ) #NEWLINE# return res