diff --git a/app/models/p_customer.rb b/app/models/p_customer.rb index 0783915..5a72759 100644 --- a/app/models/p_customer.rb +++ b/app/models/p_customer.rb @@ -131,7 +131,7 @@ class PCustomer < ApplicationRecord after_create :do_import - after_save do + after_update do self.do_import if self.refresh_import end