diff --git a/app/models/service_template.rb b/app/models/service_template.rb index 1d7375cb5ed..098fae32e64 100644 --- a/app/models/service_template.rb +++ b/app/models/service_template.rb @@ -63,6 +63,7 @@ class ServiceTemplate < ApplicationRecord belongs_to :service_template_catalog belongs_to :zone + belongs_to :currency, :class_name => "ChargebackRateDetailCurrency", :inverse_of => false has_many :dialogs, -> { distinct }, :through => :resource_actions has_many :miq_schedules, :as => :resource, :dependent => :destroy