add relations in sales.rb