Updated patches and hooks

This commit is contained in:
ricky committed 2026-03-21 12:23:23 -04:00
1 parent ea73878c71
commit 097276e558
4 files changed
+32 -24

No files matched your search

+4 -8
View File
@@ -14,16 +14,12 @@ module Vehicles
# Patches Redmine QBO Customer dynamically.
# Adds a relationship for vehicle ownership by customers
module CustomerPatch
extend ActiveSupport::Concern
ActiveSupport.on_load(:active_record) do
Customer.class_eval do
has_many :vehicles
end
prepended do
has_many :vehicles
end
end
end
end