diff --git a/app/models/supplier.rb b/app/models/supplier.rb index 59b44568..4468ca16 100644 --- a/app/models/supplier.rb +++ b/app/models/supplier.rb @@ -55,7 +55,6 @@ class Supplier < ApplicationRecord unless shared_sync_method == 'import' shared_supplier .shared_articles - .where(available: true) .where.not(id: existing_articles) .each { |shared_article| new_articles << shared_article.build_new_article(self) } end