fix dependency for spree >= 2.3.4
little rewrite in retailer model